@extends('admin.layout.pdf') @section('content')
EVOLUTION MENSUELLE DES DEPENSES PAR FAMILLE D'ASSURE

PERIODE COMPTABLE CONSIDEREE: {{ \Carbon\Carbon::parse($dateDebut)->format('d/m/Y') }} AU {{ \Carbon\Carbon::parse($dateFin)->format('d/m/Y') }}

@if (!empty($infos)) @foreach ($infos as $info)

GARANT : {{ $info->garant }}

POLICE : {{ $info->libellePolice }}

SOUSCRIPTEUR : {{ $info->souscripteur }}

COURTIER : {{ $info->courtier }}

MONTANT SUPERIEUR OU EGAL A : : {{ number_format($idDepense, 0, '', ' ') }} FCFA

@break @endforeach @else

@if ($Entetegarant != null) GARANT : {{ $Entetegarant->libelle }}

@endif @if ($Entetepolice != null) POLICE : {{ $Entetepolice->libellePolice }}

@endif @if ($Entetesouscripteur != null) SOUSCRIPTEUR : {{ $Entetesouscripteur->nom }} {{ $Entetesouscripteur->prenoms }}

@endif @if ($Entetecourtier != null) COURTIER : {{ $Entetecourtier->libelle }}

@endif MONTANT SUPERIEUR OU EGAL A : : {{ number_format($idDepense, 0, '', ' ') }} FCFA

@endif @php $total_JANVIER = 0; $total_FEVRIER = 0; $total_MARS = 0; $total_AVRIL = 0; $total_MAI = 0; $total_JUIN = 0; $total_JUILLET = 0; $total_AOUT = 0; $total_SEPTEMBRE = 0; $total_OCTOBRE = 0; $total_NOVEMBRE = 0; $total_DECEMBRE = 0; $total_TOTAUX = 0; $rowCount = 0; $rowsPerPage = 50; // Ajuster selon la taille de la page @endphp @foreach ($p_factures as $facture) @php $total_JANVIER += (int)$facture->JANVIER; $total_FEVRIER += (int)$facture->FEVRIER; $total_MARS += (int)$facture->MARS; $total_AVRIL += (int)$facture->AVRIL; $total_MAI += (int)$facture->MAI; $total_JUIN += (int)$facture->JUIN; $total_JUILLET += (int)$facture->JUILLET; $total_AOUT += (int)$facture->AOUT; $total_SEPTEMBRE += (int)$facture->SEPTEMBRE; $total_OCTOBRE += (int)$facture->OCTOBRE; $total_NOVEMBRE += (int)$facture->NOVEMBRE; $total_DECEMBRE += (int)$facture->DECEMBRE; $total_TOTAUX += (int)$facture->TOTAUX; $rowCount++; @endphp @if ($rowCount % $rowsPerPage == 0 && $rowCount > 0)
Matricule Nom et Prénom(s) Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
@endif @endforeach
Matricule Nom et Prénom(s) Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
{{ $facture->numeroAdherent }} {{ $facture->adherent }} {{ number_format($facture->JANVIER, 0, '', ' ') }} {{ number_format($facture->FEVRIER, 0, '', ' ') }} {{ number_format($facture->MARS, 0, '', ' ') }} {{ number_format($facture->AVRIL, 0, '', ' ') }} {{ number_format($facture->MAI, 0, '', ' ') }} {{ number_format($facture->JUIN, 0, '', ' ') }} {{ number_format($facture->JUILLET, 0, '', ' ') }} {{ number_format($facture->AOUT, 0, '', ' ') }} {{ number_format($facture->SEPTEMBRE, 0, '', ' ') }} {{ number_format($facture->OCTOBRE, 0, '', ' ') }} {{ number_format($facture->NOVEMBRE, 0, '', ' ') }} {{ number_format($facture->DECEMBRE, 0, '', ' ') }} {{ number_format($facture->TOTAUX, 0, '', ' ') }}
Total Général {{ number_format($total_JANVIER, 0, '', ' ') }} {{ number_format($total_FEVRIER, 0, '', ' ') }} {{ number_format($total_MARS, 0, '', ' ') }} {{ number_format($total_AVRIL, 0, '', ' ') }} {{ number_format($total_MAI, 0, '', ' ') }} {{ number_format($total_JUIN, 0, '', ' ') }} {{ number_format($total_JUILLET, 0, '', ' ') }} {{ number_format($total_AOUT, 0, '', ' ') }} {{ number_format($total_SEPTEMBRE, 0, '', ' ') }} {{ number_format($total_OCTOBRE, 0, '', ' ') }} {{ number_format($total_NOVEMBRE, 0, '', ' ') }} {{ number_format($total_DECEMBRE, 0, '', ' ') }} {{ number_format($total_TOTAUX, 0, '', ' ') }}

@endsection