@extends('layouts.app') @section('title', 'Locataires - GSI Mobilier') @section('page-title', 'Gestion des Locataires') @section('page-description', 'Liste de tous vos locataires') @section('content')

Résumé Financier

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 }}

Tous les Locataires

{{ $totalCount }} locataires au total (Page {{ $tenants->currentPage() }} sur {{ $tenants->lastPage() }})

Nouveau Locataire
@forelse($tenants as $tenant) @empty @endforelse
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') }}
{{ $tenant->start_date->format('d/m/Y') }}
@if($tenant->status === 'active') Actif @else Inactif @endif
@csrf @method('DELETE')

Aucun locataire enregistré

Commencez par ajouter votre premier locataire

Ajouter un Locataire
{{ $tenants->links() }}
@endsection @push('scripts') @endpush