@if(count($dateRange) > 0)
@foreach($dateRange as $row)
{!! dateFormat($row,'d F Y') !!}
|
@if(isset($result[$row]))
@foreach($result[$row] as $data)
{!! $empName !!}
@if($guestType) {!! $guestOrRented !!} @endif
|
@if($data['comment'] != "")
@if(is_array(json_decode($data['comment'], true)))
@php $comments = json_decode($data['comment'], true);@endphp
@foreach($comments as $com)
@endforeach
@else
@endif
@endif
@if($data['shift_id'] == 0)
{!! __('schedule.unschedule_shift') !!}
@endif
@if($data['shift_id'] > 0 && $data['shift_approved'] == 0)
{!! __('schedule.approve_shift') !!}
@endif
@if($data['shift_approved'] == 1)
{!! __('schedule.shift_approved') !!}
@endif
@if($data['punch_out_time'] == "" && $data['shift_approved'] == 0)
{!! __('schedule.on_going') !!}
@endif
|
{!! dateFormat($approvedPunchIn,"H:i") !!}
-
{!! dateFormat($approvedPunchOut,"H:i") !!}
@if($break != "")
{!! __('schedule.break') ." : ".$break !!}
@endif
|
{!! $timeCal !!} |
{!! $data['group'] !!} |
@endforeach
@else
{!! __('schedule.no_punch_found') !!} |
@endif
@endforeach
@endif