{{ $user['name'] }}

{{ date('d/m/Y', strtotime($startDate)) }} - {{ date('d/m/Y', strtotime($endDate)) }}
@if(sizeof($loopDates) == 7 )
@foreach($tableHeads as $tableHead) @endforeach
Action{{$tableHead}}
@endif
@if(sizeof($loopDates) == 7 ) @foreach($loopDates as $loopDate) @endforeach @for($i=0; $i<$rowsCount; $i++) @foreach($loopDates as $key => $loopDate) @endforeach @endfor @if (max($timeSheetStandardRowCount)) @foreach($loopDates as $key => $loopDate) @endforeach @endif @if (max($timeSheetStandardRowCount)) @foreach($loopDates as $key => $loopDate) @endforeach @endif @if (max($timeSheetOvertimeRowCount)) @foreach($loopDates as $key => $loopDate) @endforeach @endif
Vehicle Registered @if(sizeof($vehicleUsages)==0) @endif @foreach($vehicleUsages as $vehicleUsage) @if(date('Y-m-d', strtotime($vehicleUsage['startTime'])) == $loopDate) {{$vehicleUsage['vehicleReg']}}
{{date('H:i a', strtotime($vehicleUsage['startTime']))}}

@endif @endforeach @if (!empty($holidays[$loopDate])) {{ $holidays[$loopDate]->type }} @endif
Job {{$i+1}} @if(sizeof($rows[$key]) > $i) @if($loopDate == date('Y-m-d', strtotime($rows[$key][$i]['checkinTime'])) || $loopDate == date('Y-m-d', strtotime($rows[$key][$i]['checkoutTime']))) {{ sizeof($rows[$key]) > $i && $rows[$key][$i]['payType']=='callout' ? '!!' :'' }} {{$rows[$key][$i]['jobId']}}
{{$rows[$key][$i]['client']}} - {{$rows[$key][$i]['building']}}
{{date('H:i a', strtotime($rows[$key][$i]['checkinTime']))}}
{{date('H:i a', strtotime($rows[$key][$i]['checkoutTime']))}} @endif @endif
{{ 'Total Travel: ' . sprintf("%02d",$totalStandardTravelHours). ':' . sprintf("%02d",$totalStandardTravelMinutes) }} @if(!empty($timeSheetStandardDailyTravelTotal[$key]) && (!empty($timeSheetStandardDailyTravelTotal[$key]['h'])) || !empty($timeSheetStandardDailyTravelTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetStandardDailyTravelTotal[$key]['h']).': '.sprintf("%02d",$timeSheetStandardDailyTravelTotal[$key]['m']) }} @endif
{{ 'Total Standard: ' . sprintf("%02d",$totalStandardStandardHours). ':' . sprintf("%02d",$totalStandardStandardMinutes) }} @if(!empty($timeSheetStandardDailyStandardTotal[$key]) && (!empty($timeSheetStandardDailyStandardTotal[$key]['h'])) || !empty($timeSheetStandardDailyStandardTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetStandardDailyStandardTotal[$key]['h']).': '.sprintf("%02d",$timeSheetStandardDailyStandardTotal[$key]['m']) }} @endif
{{ 'Total Overtime: ' . sprintf("%02d",$totalOvertimeHours). ':' . sprintf("%02d",$totalOvertimeMinutes) }} @if(!empty($timeSheetOvertimeDailyTotal[$key]) && (!empty($timeSheetOvertimeDailyTotal[$key]['h'])) || !empty($timeSheetOvertimeDailyTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetOvertimeDailyTotal[$key]['h']).': '.sprintf("%02d",$timeSheetOvertimeDailyTotal[$key]['m']) }} @endif
@endif

Week Ending Total Hrs N/T Total Mins N/T Total Hrs O/T Total Mins O/T Add Ons Deductions Total Gross Total Net Hudson Month
@foreach($timeSheetWeekSummary as $timeSheet) @endforeach @if(sizeof($loopDates) > 7 ) @endif
{{$timeSheet['weekEnding']}} {{$timeSheet['sysHours']}} {{$timeSheet['sysMinutes']}} {{$timeSheet['sysOvertime15Hours']}} {{$timeSheet['sysOvertime15Minutes']}} £ {{number_format($timeSheet['otherPlus'], 2, '.', ',')}} £ {{number_format($timeSheet['otherMinus'], 2, '.', ',')}} £ {{number_format($timeSheet['total'], 2, '.', ',')}} £ {{number_format($timeSheet['net'], 2, '.', ',')}} @if($timeSheet['payMonth']) {{date('m/Y', strtotime($timeSheet['payMonth']))}} @else Pay Month @endif @if (!empty($timeSheet['status'] == 'locked')) @elseif (!empty($timeSheet['status'] == 'authorised')) @else @endif
Total {{$timeSheetWeekSummaryTotal['sysHours']}} {{$timeSheetWeekSummaryTotal['sysMinutes']}} {{$timeSheetWeekSummaryTotal['sysOvertime15Hours']}} {{$timeSheetWeekSummaryTotal['sysOvertime15Minutes']}} £ {{number_format($timeSheetWeekSummaryTotal['otherPlus'], 2, '.', ',')}} £ {{number_format($timeSheetWeekSummaryTotal['otherMinus'], 2, '.', ',')}} £ {{number_format($timeSheetWeekSummaryTotal['total'], 2, '.', ',')}} £ {{number_format($timeSheetWeekSummaryTotal['net'], 2, '.', ',')}}


@if($displayType == 'html') @foreach($timeSheetWeekSummary as $timeSheet)
Query for {{date('d/m/Y', strtotime($startDate))}} - {{date('d/m/Y', strtotime($endDate))}}

Thanks for submitting the query.

Please wait for responding.

@endforeach @endif