{{--*/ $col_span =4 /*--}} {{--*/ $m =1 /*--}} @foreach($expenses as $expense) {{--*/ $col_span +=$m /*--}} {{--*/ $m++ /*--}} @endforeach @foreach($expenses as $expense) @endforeach {{--*/ $total_tsh = 0 /*--}} {{--*/ $total_usd = 0 /*--}} {{--*/ $overall_total_usd = 0 /*--}} {{--*/ $overall_total_tsh = 0 /*--}} {{--*/ $overall_expense = [] /*--}} @foreach($company_performances as $index=> $company_performance) @foreach($expenses as $expense) @endforeach {{--@endif--}} @endforeach
TRIPS EXPENSES SHEET
FROM {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} TO {{\Carbon\Carbon::parse($date[1])->toFormattedDateString()}}
SNO. Customer Allocation # FROM
DESTINATION
{{$expense->account}}
{{++$index}} {{$company_performance->client_code}} {{ $company_performance->loading_order_item_id}} {{$company_performance->loading_city}}
{{$company_performance->destination}}
{{$company_performance->expenseAmountWithCurrency($expense->account_id)}}