Ajoute "Total des versements par compte" (+ par année) sur le dashboard SAS
Réutilise total_par_type_par_compte / total_par_type_par_compte_par_annee, déjà exposés par /dashboard/api/stats pour /dashboard/compte -- aucun changement backend nécessaire, juste extrait la clé "versement" par compte au lieu de la garder scindée par type.
This commit is contained in:
@@ -59,6 +59,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="figli-chart-section">
|
||||
<h2>Total des versements par compte</h2>
|
||||
<p class="figli-note">Montant total versé à chaque compte associé, toutes années confondues.</p>
|
||||
<h-bar-chart :items="versementsParCompteItems" :format-value="formatEurRound"></h-bar-chart>
|
||||
<div class="figli-year-hbar-grid">
|
||||
<div class="figli-year-hbar-card" v-for="y in versementsParCompteParAnnee" :key="y.annee">
|
||||
<div class="figli-year-hbar-title">{{ y.annee }}</div>
|
||||
<h-bar-chart :items="y.items" :format-value="formatEurRound" compact></h-bar-chart>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
</div>
|
||||
{% endverbatim %}
|
||||
|
||||
Reference in New Issue
Block a user