@php use Illuminate\Support\Str; @endphp DELIVERY NOTE - {{ $document->document_number }}
DELIVERY NOTE
@if($company && $company->logo_path) Company Logo @endif
Company Information
Name: {{ $company->company_name }}
Address: {{ $company->address }}
Phone: {{ $company->phone }}
Email: {{ $company->email }}
VAT No: {{ $company->vat_no }}
TIN No: {{ $company->tin_no }}
Customer Currency: {{ $document->currency_code }}
Customer Information
Customer Name: {{ $document->customer->customer_account ?? '—' }}
Customer Address: {{ $document->customer->address ?? '—' }}
Customer Email: {{ $document->customer->email ?? '—' }}
Customer Phone: {{ $document->customer->contact_1 ?? '—' }}
Customer Contact Person: {{ $document->contact_person }}
Customer City: {{ $document->customer->city ?? '—' }}
Customer Province: {{ $document->customer->province ?? '—' }}
Customer VAT: {{ $document->customer->vat }}
Customer TIN: {{ $document->customer->tin }}
Delivery Note #: DN-{{ substr($document->document_number, 3) }}
Order Date: {{ $document->document_date->format('d M Y') }}
Order #: {{ $document->order_number }}
Delivery Date: {{ $document->delivery_date->format('d M Y') }}
@foreach($document->lines as $line) @endforeach
HS Code Code Description Additional Description Qty UOM Description Price (incl) Disc % Tax Total (incl)
{{ $line->hs_code }} @if($line->module === 'GL') {{ optional($line->account)->code }} @else {{ optional($line->item)->code }} @endif @if($line->module === 'GL') {{ optional($line->account)->account_name }} @else {{ optional($line->item)->description1 }} @endif {{ $line->description }} {{ $line->confirmed_quantity }} {{ optional($line->uom)->description ?? '' }} {{ number_format($line->price, 2) }} {{ number_format($line->discount_percent, 2) }}% {{ number_format($line->line_tax, 2) }} {{ number_format($line->line_total, 2) }}
Received by: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Date: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Signed: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Exclusive Total: {{ optional($document->currency)->symbol ?? $document->currency_code }} {{ number_format($document->exclusive_total, 2) }}
Tax: {{ optional($document->currency)->symbol ?? $document->currency_code }} {{ number_format($document->tax_amount, 2) }}
Discount: {{ optional($document->currency)->symbol ?? $document->currency_code }} {{ number_format($document->discount_total, 2) }}
Inclusive Total: {{ optional($document->currency)->symbol ?? $document->currency_code }} {{ number_format($document->inclusive_total, 2) }}
Terms & Conditions
{{ $document->notes ?? 'No terms provided' }}

Sales Representative:.....................................................

Banking Details
Bank Name: {{ $company->bank_name }}
Account Name: {{ $company->account_name }}
Account Number: {{ $company->account_number }}
Branch: {{ $company->branch_name }}