Added to track the net balance and offset of the original entries.
This commit is contained in:
@ -111,7 +111,7 @@ class AccountSelector {
|
||||
};
|
||||
for (const option of this.#options) {
|
||||
option.onclick = () => {
|
||||
this.#entryEditor.saveAccount(option.dataset.code, option.dataset.content);
|
||||
this.#entryEditor.saveAccount(option.dataset.code, option.dataset.content, option.classList.contains("accounting-account-is-offset-needed"));
|
||||
};
|
||||
}
|
||||
this.#query.addEventListener("input", () => {
|
||||
|
Reference in New Issue
Block a user