fix: check for bank account permission when updating balance (backport #56016) (#56017)

fix: check for bank account permission when updating balance (backport #56016)
This commit is contained in:
mergify[bot]
2026-06-17 00:54:45 +05:30
committed by GitHub
parent b34373e5da
commit 2bfb5fe8b8
4 changed files with 24 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ const ClosingBalanceForm = ({ defaultBalance, date, bankAccount, onClose }: { de
{_("Enter the closing balance you see in your bank statement for {0} as of the {1}", [bankAccount?.account_name ?? bankAccount?.name ?? '', formatDate(date, 'Do MMM YYYY')])}
</DialogDescription>
</DialogHeader>
{error && <ErrorBanner error={error} />}
{error && <div className="py-2"><ErrorBanner error={error} /></div>}
<div className="py-4">
<CurrencyFormField
name="balance"