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

This commit is contained in:
imacat committed 2023-03-18 22:11:44 +08:00
1 parent c869bccc04
commit 4eac10981f
3 files changed
+4 -4

No files matched your search

+1 -1
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 {