added subroles and dpi association fixed all pages and migration
This commit is contained in:
@@ -155,12 +155,19 @@ $dashboardSections = [
|
||||
'open' => false,
|
||||
'buttons' => [
|
||||
[
|
||||
'label' => 'Employees',
|
||||
'label' => 'Dipendenti',
|
||||
'icon' => '👥',
|
||||
'class' => 'btn-employees',
|
||||
'url' => 'employees.php',
|
||||
'permission' => 'hr.employees.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Mansioni',
|
||||
'icon' => '🧩',
|
||||
'class' => 'btn-setup',
|
||||
'url' => 'job-roles.php',
|
||||
'permission' => 'hr.employees.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Departments',
|
||||
'icon' => '🏢',
|
||||
@@ -169,14 +176,14 @@ $dashboardSections = [
|
||||
'permission' => 'hr.departments.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Corsi Formazione',
|
||||
'icon' => '📚',
|
||||
'label' => 'DPI',
|
||||
'icon' => '🦺',
|
||||
'class' => 'btn-setup',
|
||||
'url' => 'training_topics.php',
|
||||
'permission' => 'hr.training_topics.view',
|
||||
'url' => 'ppe-items.php',
|
||||
'permission' => 'hr.employees.view',
|
||||
],
|
||||
[
|
||||
'label' => 'Storico Formazione',
|
||||
'label' => 'Gestione Formazione',
|
||||
'icon' => '🎓',
|
||||
'class' => 'btn-setup',
|
||||
'url' => 'trainings.php',
|
||||
|
||||
Reference in New Issue
Block a user