From 5bad949cfacab3d9265f3aae3c76b663757367bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 13 Mar 2023 20:47:03 +0800 Subject: [PATCH] Fixed the documentation of the entryType parameter in the constructor of the JavaScript DebitCreditSideSubForm sub-form. --- src/accounting/static/js/transaction-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/static/js/transaction-form.js b/src/accounting/static/js/transaction-form.js index 655f428..3b709b0 100644 --- a/src/accounting/static/js/transaction-form.js +++ b/src/accounting/static/js/transaction-form.js @@ -462,7 +462,7 @@ class DebitCreditSideSubForm { * * @param currency {CurrencySubForm} the currency sub-form * @param element {HTMLDivElement} the element - * @param entryType {string} the entry type, either "debit" + * @param entryType {string} the entry type, either "debit" or "credit" */ constructor(currency, element, entryType) { this.currency = currency;