From a643d9e81121eeb4777308ff2a80be4084f2dc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 18 Mar 2023 18:44:57 +0800 Subject: [PATCH] Renamed the isAccountOffsetNeeded parameter to isAccountNeedOffset in the saveSummaryWithAccount method of the JournalEntryEditor class. --- src/accounting/static/js/journal-entry-editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/accounting/static/js/journal-entry-editor.js b/src/accounting/static/js/journal-entry-editor.js index 6f28b2b..3326e55 100644 --- a/src/accounting/static/js/journal-entry-editor.js +++ b/src/accounting/static/js/journal-entry-editor.js @@ -361,10 +361,10 @@ class JournalEntryEditor { * @param summary {string} the summary * @param accountCode {string} the account code * @param accountText {string} the account text - * @param isAccountOffsetNeeded {boolean} true if the journal entries in the account need offset, or false otherwise + * @param isAccountNeedOffset {boolean} true if the journal entries in the account need offset, or false otherwise */ - saveSummaryWithAccount(summary, accountCode, accountText, isAccountOffsetNeeded) { - this.isNeedOffset = isAccountOffsetNeeded; + saveSummaryWithAccount(summary, accountCode, accountText, isAccountNeedOffset) { + this.isNeedOffset = isAccountNeedOffset; this.#accountControl.classList.add("accounting-not-empty"); this.accountCode = accountCode; this.accountText = accountText;