pdf-header
{{ $payment["barcode"] }}
Company Name: @isset($customer['company_name']) {{ $customer['company_name'] }} @endisset
Contact Email: @isset($contact_person['primary_email']) {{ $contact_person['primary_email'] }} @endisset
Contact Phone: @isset($contact_person['primary_phone']) {{ $contact_person['primary_phone'] }} @endisset
Property Address: @isset($property['property_address']) {{ $property['property_address'] }} @endisset
Billing Address: @isset($billing['property_address']) {{ $billing['property_address'] }} @endisset
   
Payment #: @isset($payment["barcode"]) {{ $payment["barcode"] }} @endisset
Reference #: @isset($payment["reference"]) {{ $payment["reference"] }} @endisset
Payment date: @isset($payment["payment_date"]) {{ \Carbon\Carbon::parse($payment["payment_date"])->format('d-m-Y') }} @endisset
Payment mode: @isset($payment["payment_mode"]) {{ $payment["payment_mode"]["text"] }} @endisset
Invoice Due date: @isset($payment["invoice"]["due_date"]) {{ \Carbon\Carbon::parse($payment["invoice"]["due_date"])->format('d-m-Y') }} @endisset
Invoice Sent date: @isset($payment["invoice"]["sent_date"]) {{ \Carbon\Carbon::parse($payment["invoice"]["sent_date"])->format('d-m-Y') }} @endisset

Invoice Information
Invoice # Invoice Date Invoice Amount
@isset($payment["invoice"]["barcode"]) {{ $payment["invoice"]["barcode"] }} @endisset @isset($payment["invoice"]["invoice_date"]) {{ \Carbon\Carbon::parse($payment["invoice"]["invoice_date"])->format('d-m-Y') }} @endisset @isset($payment["invoice"]["total"]) $ {{ $payment["invoice"]["total"] }} @endisset

Payment Information
Amount Received Transaction ID
@isset($payment["amount"]) $ {{ $payment["amount"] }} @endisset @isset($payment["transaction_id"]) {{ $payment["transaction_id"] }} @endisset

Admin Note: Client Note:
@isset($payment["admin_note"]) {{ $payment["admin_note"] }} @endisset
@isset($payment["client_note"]) {{ $payment["client_note"] }} @endisset