|
bf2f96621d
|
Revised so that when the account selector finds the codes from the form, the journal entry editor is used to find the form instead of messing-up with the TransactionForm class and its static method that was a shortcut to the private instance method of the same name.
|
2023-03-14 17:03:10 +08:00 |
|
|
82a6a53dc4
|
Revised the account selector to find the account codes from the form through the TransactionForm class, but not finding the codes by itself.
|
2023-03-14 17:02:52 +08:00 |
|
|
c306ff8009
|
Revised the JavaScript journal entry editor and account selector so that the account selector work with the journal entry editor and does not get into the detail of the journal entry editor.
|
2023-03-14 17:02:32 +08:00 |
|
|
c80e58b049
|
Renamed the journal entry form to journal entry editor, to be clear.
|
2023-03-14 16:59:46 +08:00 |
|
|
be0ae5eba4
|
Replaced the function-based JavaScript with the object-oriented TransactionForm, CurrencySubForm, DebitCreditSideSubForm, JournalEntrySubForm, and JournalEntryForm classes for the transaction form.
|
2023-03-14 16:59:36 +08:00 |
|
|
edf0c00e34
|
Shortened the names of the #filterAccountOptions, #getAccountCodeUsedInForm, and #shouldAccountOptionShow methods to #filterOptions, #getCodesUsedInForm, and #shouldOptionShow, respectively, in the JavaScript AccountSelector class.
|
2023-03-11 16:34:29 +08:00 |
|
|
107d161379
|
Removed a debug output from the JavaScript AccountSelector class.
|
2023-03-11 16:34:29 +08:00 |
|
|
f2c184f769
|
Rewrote the JavaScript AccountSelector to store the page elements in the object.
|
2023-03-11 16:34:28 +08:00 |
|
|
b45986ecfc
|
Fixed the parameter type for the JavaScript AccountSelector class.
|
2023-03-11 16:34:28 +08:00 |
|
|
a2c2452ec5
|
Added a missing blank line to the JavaScript AccountSelector class.
|
2023-03-11 16:34:28 +08:00 |
|
|
5194258b48
|
Removed the redundant #init method from the JavaScript AccountSelector class.
|
2023-03-11 16:34:28 +08:00 |
|
|
b19f4fa939
|
Added "use strict"; to all the JavaScript files.
|
2023-03-09 14:36:13 +08:00 |
|
|
e118422441
|
Replaced the traditional function expressions with ES6 arrow function expressions in the JavaScript for the account selector.
|
2023-03-04 11:52:44 +08:00 |
|
|
11966a52ba
|
Fixed a variable name in the #initializeAccountQuery method of the JavaScript AccountSelector class.
|
2023-03-04 06:57:35 +08:00 |
|
|
63ae3f0746
|
Replace the is_in_use pseudo property of the Account data model with the AccountOption class, and revised the #getAccountCodeUsedInForm method of the SummaryHelper, to solve the issue that the list of used accounts should be different for debit and credit entries.
|
2023-03-01 01:28:25 +08:00 |
|
|
57482f81fc
|
Revised the transaction form to start a new journal entry with the journal entry form instead of the summary helper, because it feels strange when the user want to leave the summary empty.
|
2023-03-01 00:51:24 +08:00 |
|
|
a31ce3c400
|
Replaced the function-based JavaScript account selector with the AccountSelector class that does things better.
|
2023-03-01 00:51:11 +08:00 |
|
|
3c413497ae
|
Split the JavaScript for the account selector from transaction-form.js to account-selector.js, to modularize the complex JavaScript.
|
2023-02-28 22:33:14 +08:00 |
|