{# Dashboard shell: Drupal renders the page (nav, auth, permissions). dashboard.js (a Vue 3 app) fetches JSON:API and renders everything below, 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 %} below: this is Vue template syntax, not Twig -- both use {{ }}, so verbatim tells Twig to leave it alone and let Vue compile it in the browser. #} {% verbatim %}
Chargement des données…
Erreur de chargement du tableau de bord : {{ error }}
{{ table.note }}
| Entrées (+) | Sorties (-) | Solde | |
|---|---|---|---|
| {{ row.name }} | {{ formatEur(row.entrees) }} | {{ formatEur(row.sorties) }} | {{ formatEur(row.solde) }} |
| TOTAL | {{ formatEur(table.totals.entrees) }} | {{ formatEur(table.totals.sorties) }} | {{ formatEur(table.totals.solde) }} |