@php
use Carbon\Carbon;
@endphp
@if (count($escalationLeases) > 0)
📈
Upcoming Rent Escalations
@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