|
REMS
Real Estate Management System
|
{{ $invoice->type === 'sale' ? 'SALE INVOICE' : 'INSTALLMENT INVOICE' }}
{{ $invoice->invoice_number }}
{{ strtoupper($invoice->type) }}
|
|
Bill To
| Customer |
{{ $invoice->customer?->name ?? '—' }} |
| Mobile |
{{ $invoice->customer?->mobile ?? '—' }} |
| Address |
{{ $invoice->customer?->address ?? '—' }} |
|
Property
| Project |
{{ $invoice->flat?->project?->project_name ?? '—' }} |
| Building |
{{ $invoice->flat?->building?->building_name ?? '—' }} |
| Flat |
{{ $invoice->flat?->flat_number ?? '—' }} |
| Issue Date |
{{ $invoice->issue_date?->format('d M Y') ?? '—' }} |
|
@if($invoice->type === 'sale')
Sale Agreement Details
| Description |
Amount (Tk) |
| Total Flat Price |
{{ number_format((float) $invoice->total_price, 2) }} |
| Discount |
− {{ number_format((float) $invoice->discount, 2) }} |
@if($invoice->sale && (float) $invoice->sale->parking_utility_charge > 0)
| Parking / Utility Charge |
+ {{ number_format((float) $invoice->sale->parking_utility_charge, 2) }} |
@endif
| Net Payable |
Tk {{ number_format((float) $invoice->net_payable, 2) }} |
| Down Payment |
Tk {{ number_format((float) $invoice->down_payment, 2) }} |
| Balance Due (Installments) |
Tk
{{ number_format((float) $invoice->net_payable - (float) $invoice->down_payment, 2) }} |
@if($invoice->installment_plan_summary)
Installment Plan
{{ $invoice->installment_plan_summary }}
@endif
@else
Installment Details
| Description |
Details |
| Installment # |
{{ $invoice->installment?->installment_number ?? '—' }} |
| Due Date |
{{ $invoice->due_date?->format('d M Y') ?? '—' }} |
| Amount Due |
Tk
{{ number_format((float) $invoice->amount_due, 2) }} |
@if((float) $invoice->late_fee > 0)
| Late Fee |
Tk {{ number_format((float) $invoice->late_fee, 2) }}
|
@endif
| Status |
{{ ucfirst($invoice->installment_status ?? 'pending') }}
|
@if($invoice->sale)
| Agreement # |
{{ $invoice->sale->agreement_number }} |
@endif
| Total Due |
Tk {{ number_format((float) $invoice->amount_due + (float) $invoice->late_fee, 2) }}
|
@endif