mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 19:01:47 +00:00
feat: endurece mutações financeiras e permite zerar conta
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user