Fond de caisse

Édité le {{ now()->format('d/m/Y H:i') }} @if(!empty($filters['year'])) — Année : {{ $filters['year'] }} @elseif(!empty($filters['month'])) — Mois : {{ $filters['month'] }} @endif @if(!empty($filters['from']) || !empty($filters['to'])) — Plage : {{ $filters['from'] ?? '…' }} → {{ $filters['to'] ?? '…' }} @endif @if(!empty($filters['search'])) — Recherche : « {{ $filters['search'] }} » @endif @if(!empty($filters['type']) && $filters['type'] !== 'all') — Type : {{ $filters['type'] === 'entree' ? 'Entrées' : 'Sorties' }} @endif
@if(!empty($truncated))
Affichage limité aux {{ number_format($rowLimit, 0, ',', ' ') }} premières lignes ({{ number_format($totalRows, 0, ',', ' ') }} correspondent au filtre). Affinez la période ou utilisez l'export Excel/CSV pour obtenir l'intégralité.
@endif
Total entrées
{{ number_format($summary['total_entrees'], 2, ',', ' ') }} TND
Total sorties
{{ number_format($summary['total_sorties'], 2, ',', ' ') }} TND
Solde actuel
{{ number_format($summary['current_solde'], 2, ',', ' ') }} TND
@forelse($rows as $r) @empty @endforelse
Date Désignation Entrée Sortie Solde
{{ \Carbon\Carbon::parse($r['date'])->format('d/m/Y') }} {{ $r['designation'] }} {{ $r['type'] === 'entree' ? number_format($r['amount_tnd'], 2, ',', ' ') . ' TND' : '' }} {{ $r['type'] === 'sortie' ? number_format($r['amount_tnd'], 2, ',', ' ') . ' TND' : '' }} {{ number_format($r['solde'] ?? 0, 2, ',', ' ') }} TND
Aucune ligne