@include('styles.pdfs') @include('styles.materialize')
@include('_partials.letterhead-pdf'){{ $supply->supplier->name ?? 'N/A' }}
@if($supply->supplier) @if($supply->supplier->address){{ $supply->supplier->address }}
@endif @if($supply->supplier->phone)Phone: {{ $supply->supplier->phone }}
@endif @if($supply->supplier->email)Email: {{ $supply->supplier->email }}
@endif @endif| {{ __('ITEM') }}# | {{ __('DESCRIPTION') }} | {{ __('QTY') }} | {{ __('UNIT PRICE') }} | {{ __('TOTAL') }} |
|---|---|---|---|---|
| {{ $item->item->code ?? 'N/A' }} | {{ $item->item->name ?? 'N/A' }} | {{ number_format($item->quantity, 2) }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->quantity * $item->unit_price, 2) }} |
| No items found | ||||
| Subtotal: | {{ number_format($subtotal ?? 0, 2) }} |
| {{ $cost->name }}: | {{ number_format($cost->amount, 2) }} |
| Additional Costs: | {{ number_format($additionalCostsTotal ?? 0, 2) }} |
| Tax: | {{ number_format($tax, 2) }} |
| Discount: | -{{ number_format($discount, 2) }} |
| GRAND TOTAL: | {{ number_format($grandTotal ?? ($supply->total_cost ?? 0), 2) }} |