rename task to project_task and task_user to project_task_user; create project_task_category, fix bug in create project method

This commit is contained in:
iIronside
2023-01-23 11:40:45 +03:00
parent 8b2bb7468c
commit 9eba04cae2
15 changed files with 521 additions and 18 deletions

View File

@ -68,6 +68,7 @@
'items' => [
['label' => 'Задачи', 'icon' => 'minus', 'url' => ['/task/task'], 'active' => \Yii::$app->controller->id == 'task'],
['label' => 'Исполнители задачи', 'icon' => 'users', 'url' => ['/task/task-user'], 'active' => \Yii::$app->controller->id == 'task-user'],
['label' => 'Категории задач', 'icon' => 'users', 'url' => ['/task/project-task-category'], 'active' => \Yii::$app->controller->id == 'project-task-category'],
],
'visible' => Yii::$app->user->can('task')
],