@if(session('success'))
@endif
{{ session('success') }}
@endif
@if($errors->any())
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
Record Offline Payment
Property Id :- {{ $property->nagarpalikaId ?? '-' }}
Parcel No :- {{ $property->parcelNo ?? '-' }}
| Customer/Property Details | |||||
|---|---|---|---|---|---|
| Owner Name (English/Hindi) | {{ $ownerDetails[0]->name ?? '-' }} | Father / Husband (English/Hindi) | {{ $ownerDetails[0]->fatherName ?? '-' }} | ||
| Mobile | {{ $ownerDetails[0]->mobile ?? '-' }} | {{ $ownerDetails[0]->email ?? '-' }} | |||
| Property Details | |||||
| Ward Name | {{ $property->ward?->name ?? '-' }} | Property Area | {{ $property->totalBuiltUpAreaSqFt ?? '-' }} SqFt | ||
| Property Address | {{ $property->houseNo ?? '' }} {{ $property->streetNoName ?? '' }} {{ $property->locality ?? '' }} {{ $property->colony ?? '' }} {{ $property->city ?? '' }} {{ $property->pincode ?? '' }} | ||||
@php
//dd($property->ladger_data);
$ledgerRows = buildLedgerRows($property);
// print_r($ledgerRows);
// print_r(buildFinancialData($property));
$grandTotal = $grandPenalty = $grandRemaining = $grandWater = $grandDrainage = $grandPaid = 0;
@endphp
| FY | Total | Water | Drainage | Penalty | Paid | Remaining | Status |
|---|---|---|---|---|---|---|---|
| {{ $row['fy'] }} | ₹{{ number_format($row['total'],2) }} | ₹{{ number_format($row['water'],2) }} | ₹{{ number_format($row['drainage'],2) }} | ₹{{ number_format($row['penalty'],2) }} | ₹{{ number_format($row['paid'],2) }} | ₹{{ number_format($row['remaining'],2) }} | {{ ucfirst($row['status']) }} @if($row['receipt_id']) Print @endif |
| Total | ₹{{ number_format($grandTotal,2) }} | ₹{{ number_format($grandWater,2) }} | ₹{{ number_format($grandDrainage,2) }} | ₹{{ number_format($grandPenalty,2) }} | ₹{{ number_format($grandPaid,2) }} | ₹{{ number_format($grandRemaining,2) }} | Print Ledger |