@if($inv) Invoice #: {{ $inv->id ?? '' }}
Billed Date: {{ convertToMdy($inv->invoice_date) ?? '' }}
REF #: {{ $inv->loadid ?? '' }} @else No Invoice Data Available @endif

 

BILL TO SHIPPER CONSIGNEE
{{ $inv->name ?? $inv->customer_name ?? '' }}
{{ $inv->ADDRESS_1 ?? '' }}
{{ $inv->CITY ?? '' }}, {{ $inv->PROVINCE ?? '' }} {{ $inv->POSTAL_CODE ?? '' }}
Email: {{ $inv->CONTACT_EMAIL ?? $inv->EMAIL_ADDRESS ?? '' }}
Phone: {{ $inv->phone ?? $inv->BUSINESS_PHONE ?? '' }}






 

COMMODITY LOAD TYPE WEIGHT
{{ $inv->comodity ?? ''}} {{ $inv->load_type ?? ''}} {{ $inv->weight ?? ''}}

 

Linehaul Charges QTY Rate Charges
LOAD #: {{ $inv->loadid ?? ''}} - to   miles @if($inv) $ {{ number_format($inv->load_rate ?? 0, 2) }} @else $ 0.00 @endif
@php $totalAmount = 0; $load_extra_charge_type = config('custom.load_extra_charge_type'); @endphp @foreach($ec as $charge) @php $totalAmount += ($charge->amount); @endphp @endforeach
Accessorial Charges      
{{ $load_extra_charge_type[$charge->type] ?? ''}}   ${{ number_format($charge->amount, 2) ?? ''}}
Totals   ${{ number_format($totalAmount, 2) ?? ''}}
@php $totalInv= 0; $totalInv = $totalAmount + ($inv->load_rate ?? 0); @endphp

Total Invoiced: {{ number_format($totalInv, 2) ?? ''}} USD