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:
2022-02-24 00:56:46 +00:00
parent f61a287c78
commit e567094f40
16 changed files with 607 additions and 63 deletions

View File

@@ -9,7 +9,7 @@
</button>
</a>
@else
<button {{ ($disabled == true) ? 'disabled' : ''}} type="{{ $type }}" class="btn {{ !empty($size) ? 'btn-' . $size : '' }} btn-{{ $color }}" id="{{ $id }}">
<button {{ ($disabled == true) ? 'disabled' : ''}} type="{{ $type }}" class="ml-2 btn {{ !empty($size) ? 'btn-' . $size : '' }} btn-{{ $color }}" id="{{ $id }}">
@if (empty($icon))
{{ $slot }}
@else