@include('receipts.partials.pdf-styles')
@php $companySettings = \App\Models\CompanySetting::getSettings(); @endphp|
@if($companySettings && $companySettings->company_logo && \Illuminate\Support\Facades\Storage::disk('public')->exists($companySettings->company_logo))
|
{{ $companySettings->company_name ?? config('app.name') }}
@if($companySettings->company_address ?? null){{ $companySettings->company_address }}
@endif @if($companySettings->company_phone ?? null){{ $companySettings->company_phone }}@endif @if($companySettings->company_email ?? null) @if($companySettings->company_phone ?? null) · @endif {{ $companySettings->company_email }}@endif |
| PAYMENT RECEIPT |
|
Receipt #
{{ $payment->payment_number ?? '—' }}
|
Date
{{ ($payment->payment_date ?? now())->format('M d, Y') }}
|
Method
{{ ucfirst(str_replace('_', ' ', (string) ($payment->payment_method ?? '—'))) }}
|
| Paid by |
| {{ $payment->customer->name }} |
|
@if($payment->customer->email){{ $payment->customer->email }}@endif
@if($payment->customer->phone)@if($payment->customer->email) @endif{{ $payment->customer->phone }}@endif |
| Invoice reference | |
| #{{ $payment->invoice->invoice_number }} | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }} |
| Due {{ $payment->invoice->due_date->format('M d, Y') }} | |
| Payment summary | |
| Amount paid | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }} |
| Transaction ID | {{ $payment->transaction_id }} |
| Reference | {{ $payment->reference }} |
| Total received | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }} |
| Notes |
| {{ $payment->notes }} |
|
Thank you for your payment
This receipt is proof of payment. Please retain for your records.
|