mirror of
https://github.com/Zproger/Aurum.git
synced 2026-11-18 08:02:49 +07:00
add "debit_card" as a new AccountType (#16)
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ interface AccountListProps {
|
||||
|
||||
const TYPE_ICONS: Record<AccountType, LucideIcon> = {
|
||||
checking: Wallet,
|
||||
debit_card: CreditCard,
|
||||
savings: PiggyBank,
|
||||
credit_card: CreditCard,
|
||||
cash: Banknote,
|
||||
|
||||
Reference in New Issue
Block a user