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:
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (true)
|
||||
@if (!$absences->isEmpty())
|
||||
<table class="table table-borderless table-active">
|
||||
|
||||
<thead>
|
||||
@@ -61,7 +61,7 @@
|
||||
<td>{{ $absence->requester->name }}</td>
|
||||
<td><span class="badge badge-warning"><i class="fas fa-exclamation-circle"></i> {{ __('None yet') }}</span></td>
|
||||
<td>
|
||||
@switch($absence->status)
|
||||
@switch($absence->getRawOriginal('status'))
|
||||
|
||||
@case('PENDING')
|
||||
<span class="badge badge-warning"><i class="fas fa-clock"></i> {{ __('Pending') }}</span>
|
||||
@@ -113,3 +113,7 @@
|
||||
|
||||
|
||||
@stop
|
||||
|
||||
@section('footer')
|
||||
@include('breadcrumbs.dashboard.footer')
|
||||
@stop
|
||||
|
Reference in New Issue
Block a user