@extends('layouts.app') @section('title', $block->BlockName . ' - ' . $property->PropName) @section('content')
{{ $property->PropName }}
| Bill # | Unit | Amount | Due Date | Status |
|---|---|---|---|---|
| #{{ $bill->BillID }} | {{ $bill->UnitIdentity ?? 'N/A' }} | Ksh {{ number_format($bill->TotalAmount, 2) }} | {{ \Carbon\Carbon::parse($bill->DueDate ?? $bill->BillingDate)->format('M d, Y') }} | @php $statusClass = [ 'paid' => 'success', 'overdue' => 'danger', 'pending' => 'warning', 'partial' => 'info' ][strtolower($bill->BillStatus)] ?? 'secondary'; @endphp {{ ucfirst(strtolower($bill->BillStatus)) }} |
| No bills found for this block | ||||
| Payment # | Unit | Bill # | Amount | Date |
|---|---|---|---|---|
| #{{ $payment->id }} | {{ $payment->UnitIdentity ?? 'N/A' }} | #{{ $payment->bill_number }} | Ksh {{ number_format($payment->amount, 2) }} | {{ \Carbon\Carbon::parse($payment->payment_date)->format('M d, Y') }} |
| No payment records found | ||||
No recent maintenance requests found
| Unit | Issue | Status | Date |
|---|---|---|---|
| {{ $request->unit->UnitIdentity ?? 'N/A' }} | {{ $request->title }} | @php $statusClass = [ 'Pending' => 'bg-secondary', 'In Progress' => 'bg-warning text-dark', 'Scheduled' => 'bg-info', 'Completed' => 'bg-success', 'Cancelled' => 'bg-danger', ][$request->status] ?? 'bg-secondary'; @endphp {{ $request->status }} | {{ $request->created_at->diffForHumans() }} |
No upcoming rent dues
Total Tenants
Security Staff
Active Issues
Pending Invoices