{list.error.message}
- {:else if rows.length === 0} -- No transactions in this period. -
- {:else} -+ {assets.isPending ? "" : "No accounts on the home screen."} +
+ {:else} +| Account | +Balance | +This period | ++ {TREND_DAYS} + days + | +
|---|---|---|---|
| + {group.code} + | ++ {@render balance(group.balance, group.cur)} + | +
+ {#if group.change !== 0}
+ |
+
+ {@render spark(group.trend)}
+ |
+
|
+
+
+ {a.name}
+
+ |
+ + {@render balance(toNumber(a.current_balance), group.cur)} + | +
+ {#if toNumber(a.balance_difference) !== 0}
+ |
+
+
+ {@render spark(trends.get(a.name) ?? [])}
+
+ |
+
| + + {formatDate(tx.date, "short")} + {tx.title} + + | +
+ |
+ + | |
| + {recent[expanded.indexOf(account.id)]?.isPending + ? "" + : "Nothing in the last year."} + | +|||
| + {r.name} + | +
+
+
+
+ |
+ + {formatMoney({ amount: r.value, ...g.cur }, true)} + | +
+ {bills.isPending ? "" : `Nothing due in the next ${DAYS} days.`} +
+ {:else} +| + {dayLabel(item.date)} + | ++ {item.name}{item.piggy ? " · piggy bank" : ""} + | ++ {money(item.amount, item.cur, item.approx)} + | +
+ {inbox.isPending ? "" : `Nothing new since ${formatDateTime(since)}.`} +
+ {:else} +| + + | ++ {formatDate(e.date, "short")} + | +
+ {e.title}
+ {#if e.note}
+ + {e.note} + + {/if} + |
+
+ {#if e.money}
+ |
+
| Currency | +Spent | +Typical | +Difference | ++ Spent against typical + | +
|---|---|---|---|---|
| + {r.code} + | ++ {r.format(r.spent)} + | ++ {r.typical === null ? "n/a" : r.format(r.typical)} + | ++ {#if diff !== null} + {r.format(Math.abs(diff))} + {diff > 0 ? "over" : "under"} + {/if} + | +
+ {#if r.typical !== null}
+
+
+
+
+ {/if}
+ |
+