@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
SNO. DATE
ROUTE_NO
TRUCK
TRAILER
FROM
DESTINATION
{{$expense->account}}
{{++$index}} {{ \Carbon\Carbon::parse($company_performance->loading_date)->toFormattedDateString()}}
{{$company_performance->route_assignment_id}}
{{ $company_performance->truck}}
{{ $company_performance->trailer}}
{{$company_performance->destination}}{{number_format($company_performance->expenseAmountWithCurrency($expense->account_id))}}
({{$company_performance->getRequisitionID($expense->account_id)}})