Add tab to contact detail

This commit is contained in:
Eric Lippmann 2019-07-26 17:18:28 +02:00
parent b6a399df1a
commit 135601c0dc
1 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,13 @@ class ShowController extends Controller
{
$contactName = $this->params->getRequired('contact_name');
$this->getTabs()->add('contact-detail', [
'title' => $this->translate('Contact details'),
'label' => $this->translate('Contact'),
'url' => Url::fromRequest(),
'active' => true
]);
$query = $this->backend->select()->from('contact', array(
'contact_name',
'contact_id',