@elseif(asset('images/logo.png'))
@endif
| Date | Description | Debit (Charges) | Credit (Payments) | Balance |
|---|---|---|---|---|
| {{ $transaction['date'] instanceof \Carbon\Carbon ? $transaction['date']->format('M d, Y') : \Carbon\Carbon::parse($transaction['date'])->format('M d, Y') }} | {{ $transaction['description'] }} | @if($transaction['debit'] > 0) UGX {{ number_format($transaction['debit'], 2) }} @else — @endif | @if($transaction['credit'] > 0) UGX {{ number_format($transaction['credit'], 2) }} @else — @endif | UGX {{ number_format(abs($runningBalance), 2) }} @if($runningBalance > 0) (Due) @elseif($runningBalance < 0) (Credit) @endif |
| Totals: | UGX {{ number_format($total_charged, 2) }} | UGX {{ number_format($total_paid, 2) }} | {{ $balance > 0 ? 'Due: ' : 'Credit: ' }} UGX {{ number_format(abs($balance), 2) }} | |
No transactions found for the selected period.
@endif| Property | Unit | Monthly Rent | Start Date | End Date | Status |
|---|---|---|---|---|---|
| {{ $lease->property->name ?? 'N/A' }} | {{ $lease->unit->unit_number ?? 'N/A' }} | UGX {{ number_format($lease->monthly_rent ?? 0, 2) }} | {{ $lease->start_month ? \Carbon\Carbon::parse($lease->start_month)->format('M d, Y') : 'N/A' }} | {{ $lease->end_month ? \Carbon\Carbon::parse($lease->end_month)->format('M d, Y') : 'N/A' }} | {{ ucfirst($lease->status ?? 'Unknown') }} |