| + {t("balance.account.fields.name")} + | ++ {t("balance.account.fields.category")} + | ++ {t("balance.overview.latestValue")} + | ++ {t("balance.overview.periodDelta")} + | + {/* TODO Issue #142: 3M / 1A / depuis-création / non-ajusté columns */} ++ {t("balance.account.fields.actions")} + | +
|---|---|---|---|---|
| + {acc.account_name} + {acc.symbol ? ( + + ({acc.symbol}) + + ) : null} + | ++ {t(acc.category_i18n_key, { defaultValue: acc.category_key })} + | ++ {acc.latest_value !== null ? fmt.format(acc.latest_value) : "—"} + | ++ {deltaPct !== null ? ( + = 0 + ? "text-[var(--positive)]" + : "text-[var(--negative)]" + } + > + {deltaPct >= 0 ? "+" : ""} + {deltaPct.toFixed(2)}% + + ) : ( + "—" + )} + | +
+
+ {openMenuFor === acc.account_id && (
+
+
+
+
+ )}
+ |
+
+ {t("balance.chart.empty")} +
++ {t("balance.overview.latestTotal")} +
+ {summary ? ( + <> ++ {cadFormatter(summary.latest.total)} +
++ {t("balance.overview.asOf", { + date: formatDate(summary.latest.snapshot_date), + })} +
+ > + ) : ( ++ {t("balance.overview.noSnapshots")} +
+ )} +