@include('receipts.partials.pdf-styles') @php $companySettings = \App\Models\CompanySetting::getSettings(); @endphp
{{ $companySettings->company_name ?? config('app.name') }}
@if($companySettings && $companySettings->company_logo && \Illuminate\Support\Facades\Storage::disk('public')->exists($companySettings->company_logo))
@endif @if($companySettings->company_address ?? null){{ $companySettings->company_address }}
@endif @if($companySettings->company_phone ?? null){{ $companySettings->company_phone }}@endif
Payment receipt
@if($payment->customer ?? null) @endif
Receipt #{{ $payment->payment_number ?? '—' }}
Date{{ ($payment->payment_date ?? now())->format('M d, Y H:i') }}
Method{{ ucfirst(str_replace('_', ' ', (string) ($payment->payment_method ?? '—'))) }}
Customer{{ $payment->customer->name }}
@if($payment->invoice ?? null)
Invoice: {{ $payment->invoice->invoice_number }}
@endif
Amount paid {{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }}
@if($payment->transaction_id)
Txn ID{{ $payment->transaction_id }}
@endif
Thank you · retain for your records