@include('docs._printhead', ['title'=>'SALES ORDER','no'=>$o->order_no,'date'=>'Date: '.fdate($o->order_date)]) @include('docs._fxprint', ['doc'=>$o, 'grand'=>$o->grand_total])
Customer:
{{ $o->customer->name }}
{{ $o->customer->address }}
{{ $o->customer->phone }}
Deliver to: {{ $o->delivery_address ?? '—' }}
Required: {{ fdate($o->required_date) }}
Status: {{ ucfirst($o->status) }}
@foreach($o->lines as $i=>$l)@endforeach
#ProductOrdered (t)DispatchedRateAmount
{{ $i+1 }}{{ $l->product->display_name ?? '' }}{{ qty($l->qty_ordered) }}{{ qty($l->qty_dispatched) }}{{ money($l->rate) }}{{ money($l->amount) }}
Subtotal{{ money($o->subtotal) }}
Tax (VAT + levies){{ money($o->tax_amount) }}
GRAND TOTAL{{ fxmoney($o->grand_total, $o) }}
@include('docs._printfoot', [])