{# Dashboard shell: Drupal renders the page (nav, auth, permissions). dashboard.js (Vue 3) fetches JSON:API and renders a spreadsheet-like table of every ligne comptable, with filters and month/year grouping, client-side. "Ajouter une ligne" opens the real Drupal node form in a modal (core/drupal.dialog.ajax) -- no form logic duplicated in JS. #} {% verbatim %}
+ Ajouter une ligne {% endverbatim %} {% if can_view_history %} Historique {% endif %} {% verbatim %} {{ filteredRows.length }} / {{ rows.length }} lignes{{ errorCount ? ' — ' + errorCount + ' avec écart' : '' }}

Chargement des données…

Erreur de chargement : {{ error }}

Date Client Type Libellé / Détail Montant HT Montant TTC {{ c }} Écart
Solde (créditeur / débiteur) — {{ filteredRows.length }} lignes filtrées {{ formatEur(footerTotals.montant_ht) }} {{ formatEur(footerTotals.montant_ttc) }} {{ formatEur(footerTotals.parCompte[c]) }} {{ formatEur(footerTotals.ecart) }}
{% endverbatim %}