Receipt
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 Company Logo @else No Logo @endif
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 ?? '—' }}
Receipt #: {{ $receipt->receipt_number }}
Date: {{ $receipt->formatted_date }}
Payment Method: {{ $receipt->paymentType->description ?? 'N/A' }}
Invoice #: {{ $receipt->invoice->document_number ?? '—' }}
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) }}
Banking Details
@php $bankDetails = $company->bank_details ?? []; @endphp @forelse($bankDetails as $bank)
Bank Name: {{ $bank['bank_name'] ?? '' }}
Account Name: {{ $bank['account_name'] ?? '' }}
Account Number: {{ $bank['account_number'] ?? '' }}
Branch: {{ $bank['branch'] ?? '' }}

@empty
No banking details available
@endforelse