@extends('admin.layouts.adminapp') @section('style') @endsection @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Record Offline Payment
@php $ownerDetails = is_array($property->ownerDetails) ? $property->ownerDetails : json_decode($property->ownerDetails); @endphp
Customer/Property Details
Owner Name (English/Hindi) {{ $ownerDetails[0]->name ?? '-' }} Father / Husband (English/Hindi) {{ $ownerDetails[0]->fatherName ?? '-' }}
Mobile {{ $ownerDetails[0]->mobile ?? '-' }} Email {{ $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
                    
@foreach($ledgerRows as $row) @php $grandTotal += $row['total']; $grandWater += $row['water']; $grandDrainage += $row['drainage']; $grandPenalty += $row['penalty']; $grandPaid += $row['paid']; $grandRemaining = $row['remaining']; @endphp @endforeach
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

@csrf {{-- REQUIRED HIDDEN FIELDS --}}
Total Base Amount (₹) *
Discount in %
Manual Discount (₹)
Penalty (₹) *
Final Amount Payble (₹) *
Enter Deposit Amount (₹) *
Payble Method *
Transection ID (optional)
Gateway Transection ID
Upload Receipt
Payment Date Time *
@endsection @section('script') @endsection