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

* fix: check for bank account permission when updating balance

* fix: add company to bank balance doctype
This commit is contained in:
Nikhil Kothari
2026-06-16 22:53:55 +05:30
committed by GitHub
parent a32c784084
commit 4e2a10e496
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"