{{__('back.drivers')}}

@foreach($drivers['cash'] as $i=>$data)
@php // dump(); $count = $data->count + $drivers['online'][$i]->count ; $cash = $data->total; $online = $drivers['online'][$i]->total; $total = $cash + $online; @endphp

{{$data->driver}}

{{__('back.totalOrders')}}
{{__('back.totalPaymentUponReceipt')}}
{{__('back.totalOnlinePayment')}}
{{__('back.totalAmount')}}
{{number_format($count)}}
{{number_format($cash)}}
{{number_format($online)}}
{{number_format($total)}}
@endforeach