frontend display events only if movar
This commit is contained in:
parent
f4f28d43c1
commit
b634784ec4
@ -108,14 +108,14 @@ class FrontendMenuStructure
|
||||
|
||||
$items = [];
|
||||
|
||||
if ( Helper::isCompanyMovar()){
|
||||
$this->menuItems[] = ['label' => Yii::t('event', 'Events'),
|
||||
'url' => ["event/event/index"]
|
||||
// 'items' => $items
|
||||
];
|
||||
}
|
||||
|
||||
$this->menuItems[] = ['label' => 'Kapu',
|
||||
'url' => ["/door-manager-log/index"]
|
||||
// 'items' => $items
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user