Money tracker: accounts can be left out of total wealth (include_in_total)
All checks were successful
Deploy production / deploy (push) Successful in 2m32s
All checks were successful
Deploy production / deploy (push) Successful in 2m32s
Adds money.accounts.include_in_total (default true). Excluded accounts keep their own balance and line, but are left out of net worth, invested, this month, the projection and the total/All accounts lines.
This commit is contained in:
@@ -24,6 +24,9 @@ export const moneyAccounts = moneySchema.table(
|
||||
name: text('name').notNull(),
|
||||
openingBalanceCents: integer('opening_balance_cents').notNull().default(0),
|
||||
kind: text('kind').notNull().default('spendable'),
|
||||
// False for money tracked but not owned (e.g. a savings account parents controlled):
|
||||
// still listed with its own balance, left out of net worth and the total wealth chart.
|
||||
includeInTotal: boolean('include_in_total').notNull().default(true),
|
||||
color: text('color'),
|
||||
// Household scope: Stan's own money vs. the joint account with Juhee.
|
||||
scope: text('scope').notNull().default('personal'),
|
||||
|
||||
Reference in New Issue
Block a user