{{--
{!! getCompanyLogo(true) !!}

{{ config('config.company_name') }}

Patrolling Report

--}}

Monthly Attendance Report

From {!! showDate($from_date).' to '.showDate($to_date) !!}

{{--
Employee Details
Site : {{$site}}
Route Name : {{$route}}
Date of Patrol : {{showDate($transaction_date)}}
Patrolling Mode : {{$mode}}
Patrolling Status : {{$status}}
Time Spent : {{$time_spent}}
Patrolling Officer : {{$officer}}
Officer Remarks : {{$remark}}
--}} {{-- --}} @while ($date <= $to_date) @if(in_array($date,$clocks_array)) @if(isset($clock->clock_out)) @endif @elseif(isset($leave_date_approved[$date])) @elseif(isset($off_days[$date])) @else @endif @endwhile {{-- @foreach ($clocks as $clock) @if((Carbon::parse($clock->date)->addDay()->toDateString())) @endforeach --}}
{{ $user->name_with_designation_and_department }}
SiteDateClock In Clock Out Time Worked Break Time (in mins) Ovetime
{{ $clock->Location->name }} {{ $clock->clock_in.(in_array($date,$holidays) ? ' (PH)' : '')}} {{ $clock->clock_out.(in_array($date,$holidays) ? ' (PH)' : '') }} {{ showDuration($clock->duration) }} {{ $break_hr }} {{ isset($monthly_attendance[$clock->date]) ? $monthly_attendance[$clock->date]['overtime'] : '' }}
{{ $date.' ('.$leave_date_approved[$date].')'}} {{ $date.' ('.$leave_date_approved[$date].')'}}
{{ $date.' (OFF)'}} {{ $date.' (OFF)'}}
{{ $date.' (Not Present)'}} {{ $date.' (Not Present)'}}
{{ $clock->Location->name }} {{ $clock->clock_in.(in_array(Carbon::parse($clock->clock_in)->toDateString(),$holidays) ? ' (PH)' : '')}} {{ $clock->clock_out.(in_array(Carbon::parse($clock->clock_in)->toDateString(),$holidays) ? ' (PH)' : '') }} {{ showDuration($clock->duration) }} {{ $break_hr }}
@if(count($off_days) > 0) @endif
{!! 'Days Present: '.$days_present !!} {!! 'PH Work: '.$ph_work !!} {!! 'Leaves Taken: '.count($leave_date_approved) !!} {!! 'Off: '.count($off_days) !!} {!! 'Total Overtime (in hours): '.$total_overtime !!}

Days Present* = Employee has done clockin and clockout for the shift

@if (env('COMPANY_ID') == 172)


{{ strtoupper(trans('messages.recipient').' '.trans('messages.signature')).': ' }} ____________________________________________________
ANY DISCREPANCY TO NOTIFY OFFICE WITHIN 7 DAYS
@endif