@extends('layouts.main_without_top_button') @section('title') Client Trip Sales Reports @stop @section('navigation') @stop @section('contentinner')
PRINT @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}}
{{ $month['month'] }}{{($client_detail) ? $client_detail->number_of_trips : ""}}
@stop