{account.name}
+ {account.institution && ( +{account.institution}
+ )} + {account.last_four && ( +•••• {account.last_four}
+ )} ++ {ACCOUNT_TYPE_OPTIONS.find((o) => o.value === account.account_type)?.label ?? account.account_type} +
++ {liability ? '-' : ''} + {formatMoney(Math.abs(account.balance), account.currency)} +
++ All your financial accounts in one place +
+= 0 ? 'text-green-600' : 'text-destructive'}`}> + {loading ? '—' : formatMoney(totals?.net_worth ?? 0)} +
++ {loading ? '—' : formatMoney(totals?.total_assets ?? 0)} +
++ {loading ? '—' : formatMoney(totals?.total_liabilities ?? 0)} +
++ {loading ? '—' : formatMoney(ms?.income ?? 0)} +
++ {loading ? '—' : formatMoney(ms?.expenses ?? 0)} +
+= 0 ? 'text-green-600' : 'text-destructive'}`}> + {loading ? '—' : formatMoney(ms?.net_flow ?? 0)} +
+Loading…
+ ) : accounts.length === 0 ? ( +No accounts yet.
+ +{b.name}
++ Due {new Date(b.next_due_date).toLocaleDateString()} · {b.cadence} +
++ {formatMoney(b.amount, b.currency)} +
+