@include('receipts.partials.pdf-styles')
@php $company = $company ?? \App\Models\CompanySetting::getSettings(); @endphp| {{ $company->company_name ?? config('app.name') }} |
|
|
|
@if($company->company_address ?? null){{ $company->company_address }} @endif @if($company->company_phone ?? null){{ $company->company_phone }}@endif @if($company->company_email ?? null)@if($company->company_phone ?? null) · @endif{{ $company->company_email }}@endif |
| PAYMENT RECEIPT |
| Receipt # | {{ $receipt->receipt_number }} |
| Date | {{ $receipt->created_at->format('M d, Y') }} |
| Invoice | {{ $payment->invoice->invoice_number }} |
| Method | {{ ucfirst(str_replace('_', ' ', (string) ($receipt->payment_method ?? '—'))) }} |
| Paid by |
| {{ optional($payment->customer)->name ?? 'Customer' }} |
| {{ $payment->customer->email }} |
| {{ $payment->currency ?? 'USD' }} {{ number_format((float) $receipt->amount, 2) }} | |
| Reference | {{ $receipt->transaction_reference }} |
| Notes |
| {{ $receipt->notes }} |