@extends('layouts.app') @section('content')

💰 Customer Payment Collection

@if(session('success'))
{{ session('success') }}
@endif
Collect Payment
@csrf
Payment History
@forelse($payments as $payment) @empty @endforelse
# Customer Bill Month Amount Payment Method Date
{{ $payment->id }} {{ $payment->customer->name ?? 'N/A' }} {{ $payment->bill_month }} à§³{{ number_format($payment->amount,2) }} {{ $payment->payment_method }} {{ $payment->created_at->format('d-m-Y') }}
No Payment Found
@endsection