@extends('layouts.erp') @section('title', 'Grand livre') @section('page_title', 'Grand livre '.$annee) @section('page_sub', 'Mouvements par compte, avec solde progressif') @section('content') @php $fmt = fn ($n) => number_format((float) $n, 0, ',', ' ').' F'; @endphp
| Date | Journal | Pièce | Libellé | Débit | Crédit | Solde |
|---|---|---|---|---|---|---|
| {{ $line['date'] }} | {{ $line['journal'] }} | {{ $line['number'] }} | {{ $line['label'] }} | {{ $line['debit'] > 0 ? $fmt($line['debit']) : '—' }} | {{ $line['credit'] > 0 ? $fmt($line['credit']) : '—' }} | {{ $fmt($line['solde']) }} {{ $line['sens'] }} |