|
Action | @foreach($tableHeads as $tableHead){{$tableHead}} | @endforeach
---|
Vehicle Registered | @foreach($loopDates as $loopDate)
@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 |
@endforeach
Job {{$i+1}} | @foreach($loopDates as $key => $loopDate)
@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 |
@endforeach
{{ 'Total Travel: ' . sprintf("%02d",$totalStandardTravelHours). ':' . sprintf("%02d",$totalStandardTravelMinutes) }} | @foreach($loopDates as $key => $loopDate)@if(!empty($timeSheetStandardDailyTravelTotal[$key]) && (!empty($timeSheetStandardDailyTravelTotal[$key]['h'])) || !empty($timeSheetStandardDailyTravelTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetStandardDailyTravelTotal[$key]['h']).': '.sprintf("%02d",$timeSheetStandardDailyTravelTotal[$key]['m']) }} @endif | @endforeach
{{ 'Total Standard: ' . sprintf("%02d",$totalStandardStandardHours). ':' . sprintf("%02d",$totalStandardStandardMinutes) }} | @foreach($loopDates as $key => $loopDate)@if(!empty($timeSheetStandardDailyStandardTotal[$key]) && (!empty($timeSheetStandardDailyStandardTotal[$key]['h'])) || !empty($timeSheetStandardDailyStandardTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetStandardDailyStandardTotal[$key]['h']).': '.sprintf("%02d",$timeSheetStandardDailyStandardTotal[$key]['m']) }} @endif | @endforeach
{{ 'Total Overtime: ' . sprintf("%02d",$totalOvertimeHours). ':' . sprintf("%02d",$totalOvertimeMinutes) }} | @foreach($loopDates as $key => $loopDate)@if(!empty($timeSheetOvertimeDailyTotal[$key]) && (!empty($timeSheetOvertimeDailyTotal[$key]['h'])) || !empty($timeSheetOvertimeDailyTotal[$key]['m'])) {{ sprintf("%02d",$timeSheetOvertimeDailyTotal[$key]['h']).': '.sprintf("%02d",$timeSheetOvertimeDailyTotal[$key]['m']) }} @endif | @endforeach
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 |
---|
{{$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, '.', ',')}} |
Query for {{date('d/m/Y', strtotime($startDate))}} - {{date('d/m/Y', strtotime($endDate))}} |