@extends('layouts.app') @section('title', 'Locataires - GSI Mobilier') @section('page-title', 'Gestion des Locataires') @section('page-description', 'Liste de tous vos locataires') @section('content')
Synthèse des indicateurs
| Nombre total | {{ $totalCount }} |
| Revenus mensuels (FCFA) | {{ number_format($totalMonthlyRevenue, 0, ',', ' ') }} |
| Total cautions (FCFA) | {{ number_format($totalDepositAmount, 0, ',', ' ') }} |
| Cautions payées | {{ $totalDepositPaidCount }} / {{ $totalCount }} |
| Locataires actifs | {{ $totalActiveCount }} |
{{ $totalCount }} locataires au total (Page {{ $tenants->currentPage() }} sur {{ $tenants->lastPage() }})
| Locataire | Bâtiment / Unité | Loyer Mensuel | Caution | Début | Statut | Actions | |
|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($tenant->name, 0, 1)) }}
{{ $tenant->name }} @if($tenant->matricule){{ $tenant->matricule }} @endif{{ $tenant->phone }} @if($tenant->email){{ $tenant->email }} @endif |
{{ $tenant->building->name }} @if($tenant->level){{ $tenant->level->name }} @endif @if($tenant->door){{ $tenant->door->name }} @elseif($tenant->unit_number){{ $tenant->unit_number }} @endif |
{{ number_format($tenant->monthly_rent, 0, ',', ' ') }} FCFA / mois |
{{ number_format($tenant->deposit_amount, 0, ',', ' ') }} FCFA @if($tenant->deposit_paid) Payée @else Non payée @endif |
{{ $tenant->start_date->format('d') }}
{{ $tenant->start_date->format('M') }}
|
@if($tenant->status === 'active') Actif @else Inactif @endif | ||