add "debit_card" as a new AccountType (#16)

This commit is contained in:
whaley
2026-09-08 20:03:13 +03:00
committed by GitHub
parent ae89311a8e
commit 12c3a7d79c
10 changed files with 69 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ interface AccountFormModalProps {
account?: Account | null;
}
const ACCOUNT_TYPES: AccountType[] = ["checking", "savings", "credit_card", "cash", "investment", "other"];
const ACCOUNT_TYPES: AccountType[] = ["checking", "debit_card", "savings", "credit_card", "cash", "investment", "other"];
const EMPTY_FORM = { name: "", type: "checking" as AccountType };

View File

@@ -12,6 +12,7 @@ interface AccountListProps {
const TYPE_ICONS: Record<AccountType, LucideIcon> = {
checking: Wallet,
debit_card: CreditCard,
savings: PiggyBank,
credit_card: CreditCard,
cash: Banknote,