PRINT
Driver License Phone Truck Number of Offences Total Amount
{{ $driver->driver }} {{ $driver->licence_number }} {{ $driver->phone_number }} {{ $driver->truck }} {{ sizeof($traffic_offences) }} {{ number_format($traffic_offences->sum('charges'),2) }}

{{--*/ $total_amounts = 0 /*--}} @forelse($traffic_offences as $key => $traffic_offence) @empty @endforelse
S/N Date Reference # Location Offence
{{++$key}} {{ $traffic_offence->date }} {{ $traffic_offence->reference_number }} {{ $traffic_offence->location }} {{ $traffic_offence->traffic_offence }}
No data found!