{{-- Action Toolbar (hidden on print) --}}
📄 Download PDF @if ($sale) ← Back to Sale @else ← Back @endif

Payment Receipt

{{ $payment->receipt_number }} @if ($payment->voucher_no)  |  Voucher: {{ $payment->voucher_no }} @endif

@if ($payment->is_opening)

Opening / Previous Payment

@endif
Tk {{ number_format($payment->amount, 2) }}
@if ($payment->cheque_number) @endif @if ($payment->transaction_id) @endif @if ($payment->narration) @endif
Payment Date{{ $payment->payment_date->format('d M Y') }}
Customer{{ $payment->customer->name ?? 'N/A' }}
Payment Method{{ $payment->paymentMethod->method_name ?? 'N/A' }}
Cheque #{{ $payment->cheque_number }}
Transaction ID{{ $payment->transaction_id }}
Narration{{ $payment->narration }}
Received By{{ $payment->createdBy->name ?? 'N/A' }}
@if ($sale)
Sale Details
@php $sale->load('installments'); $totalPaid = $sale->total_paid; $totalDue = $sale->outstanding_balance; @endphp
Agreement #{{ $sale->agreement_number }}
Project{{ $sale->project->project_name ?? '—' }}
Flat{{ $sale->flat->flat_number ?? '—' }} — {{ $sale->flat->building->name ?? '' }}
Net PayableTk {{ number_format($sale->net_payable, 2) }}
Total PaidTk {{ number_format($totalPaid, 2) }}
Remaining DueTk {{ number_format($totalDue, 2) }}
@endif @if ($payment->allocations && $payment->allocations->count() > 0)
Allocation Details
@foreach ($payment->allocations as $alloc) @endforeach
Installment # Allocated Amount
#{{ $alloc->installment->installment_number ?? '?' }} Tk {{ number_format($alloc->allocated_amount, 2) }}
@endif

This is a computer-generated receipt. No signature required.
Generated on {{ now()->format('d M Y, h:i A') }} | REMS — Real Estate Management System