@php
$i=1;
$totalHours = $totalBreaks = $totalAmount = $totalOverTimeAmount = $totalPayAmount = 0;
@endphp
@if(isset($schedules) && count($schedules) > 0)
@foreach($schedules as $detail)
{{ $i++ }} |
{{ dateFormat($detail->start_dt, SHOW_DATE2) }} |
{{ dateFormat($detail->start_dt, 'H:i') . ' - ' . dateFormat($detail->end_dt, 'H:i') }} |
{{ $detail->first_name . ' ' . $detail->last_name }} |
{{ $detail->group }} |
{{ $detail->shift_type }} |
{{ dateFormat($detail->punch_in_time, 'H:i') }}
{{ ($detail->punch_out_time != "") ? ' - ' . dateFormat($detail->punch_out_time, 'H:i') : '--' }}
|
- |
{{ ($shiftPayAmount > 0) ? numberFormat($shiftPayAmount, false, false) : '' }} |
{{ ($overTimePayAmount > 0) ? numberFormat($overTimePayAmount, false, false) : '' }} |
{{ ($total > 0) ? numberFormat($total, false, false) : '' }} |