Added owner's equity (base code starts with "3") to the accounts that can take offset.

This commit is contained in:
2023-03-18 19:14:35 +08:00
parent c869bccc04
commit 4eac10981f
3 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@ class AccountForm {
setBaseAccount(code, text) {
this.#baseCode.value = code;
this.#base.innerText = text;
if (["1", "2"].includes(code.substring(0, 1))) {
if (["1", "2", "3"].includes(code.substring(0, 1))) {
this.#isOffsetNeededControl.classList.remove("d-none");
this.#isOffsetNeeded.disabled = false;
} else {