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
@if($invoice->sale && (float) $invoice->sale->parking_utility_charge > 0) @endif
Description Amount (Tk)
Total Flat Price {{ number_format((float) $invoice->total_price, 2) }}
Discount − {{ number_format((float) $invoice->discount, 2) }}
Parking / Utility Charge + {{ number_format((float) $invoice->sale->parking_utility_charge, 2) }}
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
@if((float) $invoice->late_fee > 0) @endif @if($invoice->sale) @endif
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) }}
Late Fee Tk {{ number_format((float) $invoice->late_fee, 2) }}
Status {{ ucfirst($invoice->installment_status ?? 'pending') }}
Agreement # {{ $invoice->sale->agreement_number }}
Total Due Tk {{ number_format((float) $invoice->amount_due + (float) $invoice->late_fee, 2) }}
@endif