@extends('layouts.app') @section('title', 'Suivi des Loyers - GSI Mobilier') @section('page-title', 'Suivi des Loyers') @section('page-description', 'Suivez les paiements mensuels de vos locataires') @section('content')
{{ \Carbon\Carbon::parse($currentMonth)->locale('fr')->isoFormat('MMMM YYYY') }}
Reçu ce Mois
{{ number_format($totalReceived, 0, ',', ' ') }}
FCFA
En Attente
{{ number_format($totalPending, 0, ',', ' ') }}
FCFA
Montant d'Avance
{{ number_format($totalAdvance, 0, ',', ' ') }}
FCFA
Total Attendu
{{ number_format($totalExpected, 0, ',', ' ') }}
FCFA
| Locataire | Bâtiment | Loyer Mensuel | Statut Mois | Impayés | Avance | Actions |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($tenant->name, 0, 1)) }}
{{ $tenant->name }} {{ $tenant->unit_number ?? 'N/A' }} |
{{ $tenant->building->name }}
|
{{ number_format($tenant->monthly_rent, 0, ',', ' ') }} FCFA |
@if($tenant->hasPaidMonth) Payé @else Non Payé @endif | @if($tenant->unpaidMonths > 0) {{ $tenant->unpaidMonths }} mois @else - @endif | @if($tenant->advanceMonths > 0) {{ (int) $tenant->advanceMonths }} mois @else - @endif |
Calendrier
@if(!$tenant->hasPaidMonth)
Payer
@endif
|
{{ $tenant->name }}
{{ $tenant->unit_number ?? 'N/A' }}
Impayés
@if($tenant->unpaidMonths > 0){{ $tenant->unpaidMonths }} mois
@else-
@endifAvance
@if($tenant->advanceMonths > 0){{ (int) $tenant->advanceMonths }} mois
@else-
@endifPayé
Loyer du mois réglé
Non Payé
À relancer
Avance
Mois futurs payés