fix: documents submenu always hidden for manager users
This commit is contained in:
@@ -32,15 +32,17 @@ class ManagerMenuBuilder extends AbstractMenuBuilder
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
$documentMenu = $menu->addChild('Dokumentenübersicht', [
|
$documentMenu = $menu->addChild('Dokumente', [
|
||||||
'route' => 'app_administrative_document_index',
|
|
||||||
'linkAttributes' => [
|
|
||||||
'title' => 'Dokumentenübersicht',
|
|
||||||
],
|
|
||||||
'extras' => [
|
'extras' => [
|
||||||
'icon' => 'document',
|
'icon' => 'document',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
$documentMenu->addChild('Übersicht', [
|
||||||
|
'route' => 'app_administrative_document_index',
|
||||||
|
'linkAttributes' => [
|
||||||
|
'title' => 'Übersicht',
|
||||||
|
],
|
||||||
|
]);
|
||||||
$documentMenu->addChild('akzeptierte Honorarnoten', [
|
$documentMenu->addChild('akzeptierte Honorarnoten', [
|
||||||
'route' => 'app_administrative_document_accepted',
|
'route' => 'app_administrative_document_accepted',
|
||||||
'routeParameters' => [
|
'routeParameters' => [
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
{{ teamer.communication.email }}
|
{{ teamer.communication.email }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if teamer.user.lastLoginAt is not null %}
|
{% if teamer.user is not null and teamer.user.lastLoginAt is not null %}
|
||||||
{{ teamer.user.lastLoginAt | date('d.m.Y') }}
|
{{ teamer.user.lastLoginAt | date('d.m.Y') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
-
|
-
|
||||||
|
|||||||
Reference in New Issue
Block a user