Reordered the journal entry editor and put the summary first and the account later.

This commit is contained in:
2023-03-13 20:08:47 +08:00
parent 74071e8997
commit 3826646d06
3 changed files with 97 additions and 97 deletions

View File

@ -723,7 +723,7 @@ class JournalEntrySubForm {
this.#amountText = document.getElementById(this.#prefix + "-amount-text");
this.deleteButton = document.getElementById(this.#prefix + "-delete");
this.#control.onclick = () => {
JournalEntryEditor.edit(this, this.#accountCode.value, this.#accountCode.dataset.text, this.#summary.value, this.amount.value);
JournalEntryEditor.edit(this, this.#summary.value, this.#accountCode.value, this.#accountCode.dataset.text, this.amount.value);
};
this.deleteButton.onclick = () => {
this.element.parentElement.removeChild(this.element);