update addon HRM
Some checks failed
Some checks failed
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<div class="responsive-table m-0">
|
||||
<table class="table" id="datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('SL') }}.</th>
|
||||
<th class="text-start">{{ __('Employee') }}</th>
|
||||
<th class="text-start">{{ __('Date') }}</th>
|
||||
<th class="text-start d-print-none">{{ __('Month') }}</th>
|
||||
<th class="text-start">{{ __('Shift') }}</th>
|
||||
<th class="text-start">{{ __('Time In') }}</th>
|
||||
<th class="text-start">{{ __('Time Out') }}</th>
|
||||
<th class="text-start">{{ __('Duration') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($attendances as $attendance)
|
||||
<tr>
|
||||
<td>{{ ($attendances->currentPage() - 1) * $attendances->perPage() + $loop->iteration }}</td>
|
||||
<td class="text-start">{{ $attendance->employee->name ?? '' }}</td>
|
||||
<td class="text-start">{{ formatted_date($attendance->date) }}</td>
|
||||
<td class="text-start d-print-none">{{ ucfirst($attendance->month) }}</td>
|
||||
<td class="text-start">{{ $attendance->shift->name ?? '' }}</td>
|
||||
<td class="text-start">{{ formatted_time($attendance->time_in) }}</td>
|
||||
<td class="text-start">{{ formatted_time($attendance->time_out) }}</td>
|
||||
<td class="text-start">{{ formatTimeToWords($attendance->duration) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
{{ $attendances->links('vendor.pagination.bootstrap-5') }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user