update addon HRM
Some checks failed
Some checks failed
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<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">{{ __('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>{{ $loop->iteration }}</td>
|
||||
<td class="text-start">{{ $attendance->employee->name ?? '' }}</td>
|
||||
<td class="text-start">{{ formatted_date($attendance->date) }}</td>
|
||||
<td class="text-start">{{ 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>
|
||||
Reference in New Issue
Block a user