{{ \App\Models\SystemSetting::getValue('business_name','JEVAPOS') }}

Customer Advance Receipt

{{ $advance->reference }} | {{ $advance->received_at->format('d M Y H:i') }}

{{ $advance->customer?->name }} | {{ $advance->customer?->phone }}

{{ $advance->purpose }}

ReceivedKES {{ number_format($advance->amount,2) }}
Method / Reference{{ $advance->paymentMethod?->name }} {{ $advance->payment_reference }}
VAT includedKES {{ number_format($advance->tax_amount,2) }}
Applied to billsKES {{ number_format($advance->used_amount,2) }}
RefundedKES {{ number_format($advance->refunded_amount,2) }}
AvailableKES {{ number_format($advance->remaining(),2) }}

Payment History

@foreach($advance->allocations as $allocation)@endforeach
DateUseAmount
{{ $allocation->created_at->format('d M Y H:i') }}{{ ucfirst($allocation->target_type) }} #{{ $allocation->target_id }}KES {{ number_format($allocation->amount,2) }}