LOADING ORDERS SUMMARY BY CLIENTS

@foreach($clients as $client) @endforeach @foreach($months as $month) {{--*/ \Illuminate\Support\Facades\DB::statement('CALL clientsTripsBasedOnLoadDate("' . $month['start_date'] . '","' . $month['end_date'] . '")') /*--}} @foreach($clients as $client) {{--*/ $client_detail = \App\Model\TempoClientTotalTripByLoadingDate::whereClientId($client->client_id)->first() /*--}} @endforeach @endforeach
Month Of{{$client->client_code}}Total
{{ $month['month'] }}{{($client_detail) ? $client_detail->number_of_trips : ""}}{{$monthly_total}}
{{$client_total}}