Répartition des flux

@if (! $hasData)

Aucun revenu suivi sur cette période.

@else
@foreach ($flows as $flow) @endforeach
Répartition chiffrée des revenus vers les dépenses et l'épargne
Catégorie Type Montant
{{ $flow['to'] }} {{ $flow['type'] === 'depense' ? 'Dépense' : ($flow['type'] === 'epargne' ? 'Épargne' : 'Non affecté') }} {{ number_format($flow['flow'], 2, ',', ' ') }} €

Revenus

{{ number_format($totalRevenue, 2, ',', ' ') }} €

Dépenses + épargne

{{ number_format($totalOutflow, 2, ',', ' ') }} €

Non affecté

{{ number_format($unallocated, 2, ',', ' ') }} €

@endif
@once @push('scripts') @endpush @endonce