{{ __('Dashboard') }}

@php $isSetupComplete = !in_array(false, $checks); @endphp
@if(!$isSetupComplete) Getting Started: Please complete the following create your first lease: @endif
@foreach([ ['title' => 'Properties', 'total' => $counts['total_properties'] ?? 0, 'vacant' => $counts['vacant_properties'] ?? 0, 'occ' => $counts['occ_properties'] ?? 0, 'main' => $counts['main_properties'] ?? 0, 'clean' => $counts['clean_properties'] ?? 0], ['title' => 'Units', 'total' => $counts['total_units'] ?? 0, 'vacant' => $counts['vacant_units'] ?? 0, 'occ' => $counts['occ_units'] ?? 0, 'main' => $counts['main_units'] ?? 0, 'clean' => $counts['clean_units'] ?? 0], ['title' => 'Rooms', 'total' => $counts['total_rooms'] ?? 0, 'vacant' => $counts['vacant_rooms'] ?? 0, 'occ' => $counts['occ_rooms'] ?? 0, 'main' => $counts['main_rooms'] ?? 0, 'clean' => $counts['clean_rooms'] ?? 0], ] as $stat)

{{ $stat['title'] }}

Total Count

{{ $stat['total'] }}

Vacant

{{ $stat['vacant'] }}

Occupied

{{ $stat['occ'] }}

Cleaning

{{ $stat['clean'] }}

Maintenance

{{ $stat['main'] }}

@endforeach

Overdue Rent Alerts

@forelse($overdueInvoices as $invoice) @empty @endforelse
Invoice No. Leaseable Type Leaseable Name Tenant Amount Due Date
{{ $invoice->invoice_no ?? 'N/A' }} {{ $invoice->lease->leasable_type ?? 'N/A' }} {{ $invoice->lease->leasable_name ?? 'N/A' }} {{ $invoice->tenant->user->name ?? 'Unknown' }} RM {{ number_format($invoice->amount_due, 2) }} {{ $invoice->periodDisplay }}
No overdue payments.