feat: every page follows the one-currency mode
Totals, info boxes, section headers, group subtotals, shares and the per-currency charts on the dashboard, transactions, search, accounts, merchants, statement, budgets, categories, tags, groups, piggy banks, reports and the category, tag, budget and merchant pages sum into one converted amount when the mode is on; charts split by currency merge into one lane. Inputs, reconciliation and the Foreign column stay exact. Money moved to or from a debt, loan or mortgage no longer counts as income or spending in the transaction list boxes; it shows as From debts and To debts. The running balance of an incoming foreign-currency transfer shows in the account's currency.
This commit is contained in:
1 parent
94466d9be9
commit
617a4700e2
61 files changed
+1427
-798
No files matched your search
@@ -6,6 +6,7 @@
|
||||
import { formatDate, formatNumber } from "#lib/format.js";
|
||||
import { period } from "#lib/period.svelte.js";
|
||||
import { monthOf } from "#lib/reports/board.js";
|
||||
import { isApprox } from "#lib/reports/display.js";
|
||||
import { versusText } from "#lib/reports/typical.js";
|
||||
|
||||
const WEEK = 7;
|
||||
@@ -123,7 +124,7 @@
|
||||
)}
|
||||
{#if main.projected !== null}
|
||||
<span
|
||||
>· on pace for ≈
|
||||
>· on pace for {isApprox(main.code) ? "" : "≈"}
|
||||
<span class="num font-semibold text-cladd-fg"
|
||||
>{fmt(main.code, main.projected, 0)}</span
|
||||
>,</span
|
||||
|
||||
Reference in new issue
Block a user