From 7235bcd1a615404896303314e9e7f2b0ac4d9ffb Mon Sep 17 00:00:00 2001 From: Kavalar Date: Wed, 3 Apr 2024 18:35:12 +0300 Subject: [PATCH] extract report menu --- backend/views/layouts/left.php | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/views/layouts/left.php b/backend/views/layouts/left.php index cf19730..e4e5a7e 100755 --- a/backend/views/layouts/left.php +++ b/backend/views/layouts/left.php @@ -101,6 +101,7 @@ ['label' => 'Заметки', 'icon' => 'sticky-note', 'url' => ['/notes/notes'], 'active' => \Yii::$app->controller->id == 'notes', 'visible' => Yii::$app->user->can('notes')], ['label' => 'Календарь ДР', 'icon' => 'calendar-check-o', 'url' => ['/calendar/calendar'], 'active' => \Yii::$app->controller->id == 'calendar', 'visible' => Yii::$app->user->can('calendar')], ['label' => 'Отчеты', 'icon' => 'calendar', 'url' => ['/reports/reports'], 'active' => \Yii::$app->controller->id == 'reports', 'visible' => Yii::$app->user->can('reports')], + ['label' => 'Экспорт отчетов', 'icon' => 'calendar', 'url' => ['/reports/reports/extract'], 'active' => \Yii::$app->controller->id == 'reports', 'visible' => Yii::$app->user->can('reports')], ['label' => 'Опции', 'icon' => 'list-alt', 'url' => ['/options/options'], 'active' => \Yii::$app->controller->id == 'options', 'visible' => Yii::$app->user->can('options')], [ 'label' => 'Запрос интервью (' . \common\models\InterviewRequest::getNewCount() . ')',