@include('pdf.partials.style') @php $logoPath = $setting->logo_path ? public_path('storage/'.$setting->logo_path) : null; $hasLogo = $logoPath && file_exists($logoPath); @endphp
@if($hasLogo) BASCORE @else
B
@endif
{{ $setting->company_name }}
{!! nl2br(e($setting->address)) !!}
{{ $setting->phone }} | {{ $setting->email }}
TRN: {{ $setting->trn }}
PAYMENT RECEIPT
Receipt No.{{ $payment->receipt_number }}
Date{{ $payment->payment_date->format('d M Y') }}
Invoice{{ $payment->invoice->number }}
Received From
{{ $payment->invoice->customer->customer_name }}
{{ $payment->invoice->customer->company_name }}
Against invoice {{ $payment->invoice->number }}
Payment Summary
Method: {{ str_replace('_',' ',ucfirst($payment->payment_method)) }}
Reference: {{ $payment->reference_number ?: '-' }}
Amount Received: AED {{ number_format($payment->amount,2) }}
Payment MethodReferenceNotesAmount Received
{{ str_replace('_',' ',ucfirst($payment->payment_method)) }} {{ $payment->reference_number ?: '-' }} {{ $payment->notes ?: '-' }} AED {{ number_format($payment->amount,2) }}
Notes
This receipt confirms payment received by BASCORE against the invoice listed above.
Invoice TotalAED {{ number_format($payment->invoice->grand_total,2) }}
Total PaidAED {{ number_format($payment->invoice->paid_amount,2) }}
Balance DueAED {{ number_format($payment->invoice->balance_due,2) }}
Authorization
Authorized Signature