Fixed the addJournalEntry method of the DebitCreditSideSubForm sub-form to re-validate the whole side after a new journal entry is added.

This commit is contained in:
依瑪貓 2023-03-13 18:36:11 +08:00
parent 6a671cac84
commit b3c666c872

View File

@ -502,6 +502,7 @@ class DebitCreditSideSubForm {
this.#entries.push(entry); this.#entries.push(entry);
this.#resetDeleteJournalEntryButtons(); this.#resetDeleteJournalEntryButtons();
this.#initializeDragAndDropReordering(); this.#initializeDragAndDropReordering();
this.validate();
return entry; return entry;
} }