Removed the prefix from the journal entry sub-form.

This commit is contained in:
2023-03-13 19:57:07 +08:00
parent ff1bb7142b
commit 232f73172f
2 changed files with 2 additions and 2 deletions

View File

@ -713,7 +713,7 @@ class JournalEntrySubForm {
this.element = element;
this.entryType = element.dataset.entryType;
this.entryIndex = parseInt(element.dataset.entryIndex);
this.#prefix = element.dataset.prefix;
this.#prefix = "accounting-currency-" + element.dataset.currencyIndex + "-" + this.entryType + "-" + this.entryIndex;
this.#control = document.getElementById(this.#prefix + "-control");
this.#error = document.getElementById(this.#prefix + "-error");
this.no = document.getElementById(this.#prefix + "-no");