@extends('adminlte::page') @section('content')

Fuel Cost

@foreach($brokers as $broker) @endforeach @foreach($brokers as $broker) @endforeach @foreach($brokers as $broker) @endforeach @foreach($costs as $cost_id => $cost) @if(is_numeric($cost_id)) @foreach($brokers as $broker) @endforeach @endif @endforeach
Date Total{{$broker['name']}}Note
US CANUS CAN
Total Costs: @if(isset($costs['totals']['total_usd'])) {{number_format($costs['totals']['total_usd'],2)}} @else {{'0.00'}} @endif @if(isset($costs['totals']['total_can'])) {{number_format($costs['totals']['total_can'],2)}} @else {{'0.00'}} @endif@if(isset($costs['totals'][$broker['id']]['usd'])) {{number_format($costs['totals'][$broker['id']]['usd'],2)}} @else {{'0.00'}} @endif @if(isset($costs['totals'][$broker['id']]['can'])) {{number_format($costs['totals'][$broker['id']]['can'],2)}} @else {{'0.00'}} @endif
{{$cost['date']}} {{number_format($cost['total_usd'],2)}} {{number_format($cost['total_can'],2)}}@if(isset($cost['brokers'][$broker['id']]['usd'])) {{number_format($cost['brokers'][$broker['id']]['usd'],2)}} @else {{'0.00'}} @endif @if(isset($cost['brokers'][$broker['id']]['can'])) {{number_format($cost['brokers'][$broker['id']]['can'],2)}} @else {{'0.00'}} @endif{{$cost['note']}}
@stop @section('css') @stop @section('js') @stop