{{--*/ $i=1 /*--}} @foreach($orders as $index=>$order) @endforeach
@if($order['BATCH_NUMBER']==0) NOT INVOICED @else WITH INVOICE ID {{$order['BATCH_NUMBER']}} @endif
{{--*/ $j=1 /*--}} @foreach($order['orders'] as $detail) {{--*/ $i++ /*--}} {{--*/ $j++ /*--}} @endforeach
S/N Date Driver Passport Horse Trailer Type Container No Border Tonnage Transporter Loading Point Tonnage
{{$j}} {{$detail->loading_date}} {{$detail->passport_display_name}} {{$detail->passport_number}} {{$detail->truck}} {{$detail->trailer}} {{$detail->cargo_type}} {{$detail->containers}} {{$detail->loading_point_border}} {{$detail->tonnage}} OAT {{$detail->getLoadingPoint()}} {{$detail->actual_tonnage}}