@extends('layouts.app') @section('title', $customer->name) @section('content')
s/o {{ $customer->father_name }}
@endif {{ $customer->type_label }} {{ $customer->is_active ? 'Active' : 'Inactive' }} @if($customer->email){{ $customer->email }}
@endifNo documents uploaded.
@endif @haspermission('customers.edit')| Type | Flat | Project | Building | Status | Date |
|---|---|---|---|---|---|
| Booking | {{ $booking->flat->flat_number ?? '—' }} | {{ $booking->flat->project->project_name ?? '—' }} | {{ $booking->flat->building->building_name ?? '—' }} | {{ ucfirst($booking->status ?? 'booked') }} | {{ $booking->created_at->format('d M Y') }} |
| Sale | {{ $sale->flat->flat_number ?? '—' }} | {{ $sale->flat->project->project_name ?? '—' }} | {{ $sale->flat->building->building_name ?? '—' }} | {{ ucfirst($sale->status ?? 'active') }} | {{ $sale->created_at->format('d M Y') }} |
No flats linked yet.
Total Payable
Total Paid
Outstanding Balance
| # | Due Date | Amount Due | Paid | Status |
|---|---|---|---|---|
| {{ $inst->installment_number ?? $loop->iteration }} | {{ $inst->due_date->format('d M Y') }} | ৳ {{ number_format((float) $inst->amount_due, 2) }} | ৳ {{ number_format((float) $inst->amount_paid, 2) }} | @php $statusClass = match ($inst->status ?? 'pending') { 'paid' => 'badge-active', 'partial' => 'bg-warning text-dark', 'overdue' => 'badge-inactive', 'voided' => 'bg-dark', default => 'bg-secondary', }; @endphp {{ ucfirst($inst->status ?? 'pending') }} |
No installments yet.