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

Admin Dashboard

Total Number of Tenants

{{ $totalTenants }}

All Account Receivables

₱{{ number_format($totalReceivables, 2) }}

Total Vacant Units

{{ $totalVacantUnits }}

Total Occupied Units

{{ $totalOccupiedUnits }}

@php use Carbon\Carbon; @endphp
@if (count($escalationLeases) > 0) @else

No upcoming rent escalations.

@endif
@if ($overduePayments->isNotEmpty())
🔒

Padlock Alert

    @foreach ($overduePayments as $payment) @php $dueDate = $payment->payment_date->copy()->addDays($payment->lease->terms); @endphp
  • Business Name: {{ $payment->lease->client->business_name }} , Client: {{ $payment->lease->client->owners_name }} - Amount: ₱{{ number_format($payment->Amount, 2) }} - Due Date: {{ $dueDate->format('F j, Y') }}
  • @endforeach
@endif @if ($foreclosurePayments->isNotEmpty())
⚠️

Foreclosure Notices

    @foreach ($foreclosurePayments as $payment) @php $dueDate = $payment->payment_date->copy()->addDays($payment->lease->terms); @endphp
  • Client: {{ $payment->lease->client->business_name }} - Amount: ₱{{ number_format($payment->Amount, 2) }} - Due Date: {{ $dueDate->format('F j, Y') }}
  • @endforeach
@endif
@endsection