@extends('layouts.app') @section('header')
Overview of financial transactions from {{ \Carbon\Carbon::parse($startDate)->format('M d, Y') }} to {{ \Carbon\Carbon::parse($endDate)->format('M d, Y') }}
| Payment Date | Customer | Property | Mode | Amount | Actions |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($payment->PaymentDate)->format('M d, Y') }} |
{{ $payment->customer->CustomerName ?? 'N/A' }}
{{ $payment->customer->CustomerPhone ?? '' }}
|
{{ $payment->customer->unit->property->PropName ?? 'N/A' }} | {{ $payment->PaymentMode ?? 'N/A'}} | Ksh {{ number_format($payment->TotalPayment, 2) }} | PaymentID }})"> View |
| No payment records found for the selected period. | |||||
| Total | Ksh {{ number_format($payments->sum('Amount'), 2) }} | ||||
Revenue chart will be displayed here
Payment method distribution will be displayed here