feat: endurece mutações financeiras e permite zerar conta

This commit is contained in:
Felipe Coutinho
2026-03-20 18:42:18 +00:00
parent f77c64325d
commit e4dd221709
23 changed files with 5490 additions and 2942 deletions

View File

@@ -105,7 +105,7 @@ export default async function Page({ params, searchParams }: PageProps) {
const cardDialogAccounts = filterSources.accountRows.map(
(financialAccount: FinancialAccount) => ({
id: financialAccount.id,
name: financialAccount.name ?? "FinancialAccount",
name: financialAccount.name ?? "Conta",
logo: financialAccount.logo ?? null,
}),
);
@@ -114,7 +114,7 @@ export default async function Page({ params, searchParams }: PageProps) {
filterSources.accountRows.find(
(financialAccount: FinancialAccount) =>
financialAccount.id === card.accountId,
)?.name ?? "FinancialAccount";
)?.name ?? "Conta";
const cardDialogData: Card = {
id: card.id,