TRIP SHEET

Branch Name: {{$branch}}
Date: {{ date('Y-m-d') }}
Trip Nr: {{$data[0]['trip_number']}}

TRIP DETAILS
Branch: {{$branch}} Truck: {{$data[0]['truck']}} Trailer: {{$data[0]['trailer']}}
@foreach($data as $key => $value) @endforeach
NR Date Customer Client Ref Origin Destination Distance Product Container Nr Size Qty Packing Weight Trip Days Shortage Comments
{{ $key+1 }} {{$value->created_at}} {{$value->cargo->order->customer['name']}} {{$value->cargo->order['customer_ref']}} {{$value->cargo->order->origin['origin']}} {{$value->cargo->order->destination['destination']}} {{$value->cargo->order->destination['Km']}} {{$value->cargo->order->product['name']}} {{$value->cargo['container']}} {{$value->cargo['size']}} {{$value->cargo['quantity']}} {{$value->cargo['packaging']}} {{$value->cargo['weight']}} {{$value->res}} {{$value->shortage}} {{$value->remarks}}
Total:
Travel Expenses
@php $usd = 0 ; $mzm = 0 ; $other = 0 ; $i = 0 ; @endphp @foreach ($allowance as $key => $avalue) @if($avalue->currency == 'USD') @php $usd = $usd + $avalue->amount ; @endphp @elseif($avalue->currency == 'MZM') @php $mzm += $avalue->amount ; @endphp @elseif($avalue->currency == 'ZAR') @php $other += $avalue->amount ; @endphp @endif @endforeach
Cash Issued Expense justified
Nr Date Charge USD MZM Other USD MZM Other
{{$key+1}} {{$avalue->paid_date}} {{$avalue->charge['name']}} {{ ( $avalue->currency == 'USD' ? $avalue->amount : '' ) }} {{ ( $avalue->currency == 'MZM' ? $avalue->amount : '' ) }} {{ ( $avalue->currency == 'ZAR' ? $avalue->amount : '' ) }}
Total: {{$usd}} {{$mzm}} {{$other}}
Cash Change returned:
Difference due to the company:
@php $qtytotal=$amttotal=0 ; @endphp @foreach($fuel as $key => $fvalue) @php $qtytotal += $fvalue->quantity; $amttotal += $fvalue->amount; @endphp @endforeach
Fuel used for the Trip
Nr Date Location Qty Amount
{{$key+1}} {{$fvalue->date}} {{$fvalue->location}} {{$fvalue->quantity}} {{$fvalue->amount}}
Total: {{$qtytotal}} {{$amttotal}}
Odometer readings :
  Last KM Maintain @ KM Now KM  
Truck
Trailer
Defects report |Truck:{{ $truck_report }} Defects report | Trailer:{{$trailer_report}} Other Comments:
Tyre list:{{$truck_tyrelist}} Tyre list:{{$trailer_tyrelist}} Tools list:
Driver Operations / Clerk Checker Cashier