@php use Illuminate\Support\Str; @endphp {{ Str::title(str_replace('_', ' ', $document->type)) }} - {{ $document->document_number }}
{{ Str::title(str_replace('_', ' ', $document->type)) }}
@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 Information
Customer Name:{{ $document->customer->customer_account }}
Customer Address:{{ $document->customer->address }}
Customer Email:{{ $document->customer->email }}
Customer Phone:{{ $document->customer->contact_1 }}
Contact Person:{{ $document->contact_person }}
City:{{ $document->customer->city ?? '—' }}
Province:{{ $document->customer->province ?? '—' }}
VAT:{{ $document->customer->vat }}
TIN:{{ $document->customer->tin }}
{{ Str::title(str_replace('_', ' ', $document->type)) }} #: {{ $document->document_number }}
Order Date: {{ $document->document_date->format('d M Y') }}
Delivery Note #: DN-{{ substr($document->document_number, strlen($document->type)) }}
Order #: {{ $document->order_number }}
@foreach($document->lines as $line) @endforeach
HS Code Item Code Item Description Description Qty UOM Description Price (incl) Disc % Tax Total (incl)
{{ $line->hs_code }} {{ $line->item->code ?? '' }} {{ $line->item->description1 ?? '' }} {{ $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) }}
Exclusive Total:{{ number_format($document->exclusive_total,2) }}
Tax:{{ number_format($document->tax_amount,2) }}
Discount:{{ number_format($document->discount_total,2) }}
Inclusive Total:{{ number_format($document->inclusive_total,2) }}
Received by:
Authorized:
Banking Details
Bank Name: {{ $company->bank_name }}
Account Name: {{ $company->account_name }}
Account Number: {{ $company->account_number }}
Branch: {{ $company->branch_name }}
Notes
{{ $document->special_instructions }}