@extends('layouts.erp') @section('title', 'Bilan') @section('page_title', 'Bilan '.$annee) @section('page_sub', 'Actif et passif d\'après les écritures validées') @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' => 'bilan', 'query' => ['annee' => $annee]]) @if(! $closed)
@csrf
@else Exercice clôturé @endif
Actif
@forelse($bilan['actif'] as $row) @empty @endforelse
CompteLibelléMontant
{{ $row['code'] }}{{ $row['label'] }}{{ $fmt($row['amount']) }}
Aucun actif.
Total actif{{ $fmt($bilan['total_actif']) }}
Passif
@forelse($bilan['passif'] as $row) @empty @endforelse
CompteLibelléMontant
{{ $row['code'] }}{{ $row['label'] }}{{ $fmt($row['amount']) }}
Aucun passif.
Total passif{{ $fmt($bilan['total_passif']) }}
@endsection