|
Company Information
@if($company && $company->logo_path && file_exists(public_path($company->logo_path)))
@php
$logo = base64_encode(file_get_contents(public_path($company->logo_path)));
$ext = pathinfo(public_path($company->logo_path), PATHINFO_EXTENSION);
@endphp
Name: {{ $company->company_name ?? 'N/A' }}
Address: {{ $company->address ?? 'N/A' }}
Tel No: {{ $company->phone ?? 'N/A' }}
Email: {{ $company->email ?? 'N/A' }}
Website: {{ $company->website ?? 'N/A' }}
VAT No: {{ $company->vat_no ?? 'N/A' }}
TIN No: {{ $company->tax_id ?? 'N/A' }}
Currency: {{ $receipt->currency->code ?? 'N/A' }}
|
Customer Information
Customer Name: {{ $receipt->customer->customer_account ?? '—' }}
Address: {{ $receipt->customer->address ?? '—' }}
Email: {{ $receipt->customer->email ?? '—' }}
Phone: {{ $receipt->customer->contact_1 ?? '—' }}
Contact Person: {{ $receipt->contact_person ?? '—' }}
City: {{ $receipt->customer->city ?? '—' }}
Province: {{ $receipt->customer->province ?? '—' }}
VAT No: {{ $receipt->customer->vat ?? '—' }}
TIN No: {{ $receipt->customer->tin ?? '—' }}
|
| Description | Invoice # | Amount |
|---|---|---|
| Payment received | {{ $receipt->invoice->document_number ?? '—' }} | {{ optional($receipt->currency)->symbol ?? '$' }} {{ number_format($receipt->total_amount, 2) }} |
|
Received by: ______________________________
Date: ______________________________
Signed: ______________________________
|
Total Amount: {{ optional($receipt->currency)->symbol ?? '$' }} {{ number_format($receipt->total_amount, 2) }} |