diff --git a/src/accounting/static/js/account-form.js b/src/accounting/static/js/account-form.js index edd8449..235ad3c 100644 --- a/src/accounting/static/js/account-form.js +++ b/src/accounting/static/js/account-form.js @@ -282,7 +282,7 @@ class BaseAccountSelector { }); for (const option of this.#options) { option.onclick = () => { - this.#form.setBaseAccount(option.dataset.code, option.dataset.content); + this.#form.setBaseAccount(option.dataset.code, option.dataset.text); }; } this.#clearButton.onclick = () => { diff --git a/src/accounting/templates/accounting/account/include/form.html b/src/accounting/templates/accounting/account/include/form.html index b82bff1..00fb48a 100644 --- a/src/accounting/templates/accounting/account/include/form.html +++ b/src/accounting/templates/accounting/account/include/form.html @@ -101,7 +101,7 @@ First written: 2023/2/1