feat: add loa requests
This commit adds a feature that allows users to request periods of inactivity from their managers. This is effectively known as a leave of absence. The commit also introduces new permissions and migrations, therefore, you'll need to adapt your database according to these changes.
This commit is contained in:
@@ -278,22 +278,22 @@ return [
|
||||
'can' => 'reviewer.requestAbsence',
|
||||
'submenu' => [
|
||||
[
|
||||
'text' => 'Request LOA',
|
||||
'icon' => 'far fa-clock',
|
||||
'text' => 'New request',
|
||||
'icon' => 'fas fa-plus',
|
||||
'can' => 'reviewer.requestAbsence',
|
||||
'url' => 'tba'
|
||||
'route' => 'absences.create'
|
||||
],
|
||||
[
|
||||
'text' => 'My LOA Requests',
|
||||
'text' => 'My requests',
|
||||
'icon' => 'fas fa-business-time',
|
||||
'can' => 'reviewer.viewAbsence',
|
||||
'url' => 'tba'
|
||||
'route' => 'showUserAbsences'
|
||||
],
|
||||
|
||||
],
|
||||
],
|
||||
[
|
||||
'text' => 'Absence Requests',
|
||||
'text' => 'Absence requests',
|
||||
'icon' => 'fas fa-address-card',
|
||||
'can' => 'admin.manageAbsences',
|
||||
'route' => 'absences.index'
|
||||
|
0
config/markdown.php
Normal file → Executable file
0
config/markdown.php
Normal file → Executable file
Reference in New Issue
Block a user