@extends('layouts.erp') @section('title', 'Flux de trésorerie') @section('page_title', 'Tableau des flux de trésorerie '.$annee) @section('page_sub', 'Exploitation, investissement et financement') @section('content') @php $fmt = fn ($n) => number_format((float) $n, 0, ',', ' ').' F'; @endphp
@include('finance.journals.tabs')
@include('finance.journals.year') @include('partials.list-export', ['type' => 'flux', 'query' => ['annee' => $annee]])
@foreach($flow['sections'] as $section)
{{ $section['label'] }}
@forelse($section['rows'] as $row) @empty @endforelse @if($section['rows'] !== []) @endif
JournalEncaissementsDécaissementsVariation
{{ strtoupper($row['journal']) }} {{ $fmt($row['encaissements']) }} {{ $fmt($row['decaissements']) }} {{ $fmt($row['encaissements'] - $row['decaissements']) }}
Aucun flux sur cette section.
Total {{ strtolower($section['label']) }} {{ $fmt($section['encaissements']) }} {{ $fmt($section['decaissements']) }} {{ $fmt($section['variation']) }}
@endforeach
Variation de trésorerie : {{ $fmt($flow['variation']) }}
Encaissements {{ $fmt($flow['encaissements']) }} · Décaissements {{ $fmt($flow['decaissements']) }}
@endsection