依瑪貓 imacat
imacat pushed to main at imacat/mia-accounting 2023-03-13 21:39:09 +08:00
9a8bb8af0a Fixed the indent in the template of the account selector.
imacat pushed to main at imacat/mia-accounting 2023-03-13 21:14:21 +08:00
5b7496c7a6 Removed trailing blank spaces from the JavaScript summary editor.
imacat pushed to main at imacat/mia-accounting 2023-03-13 21:08:54 +08:00
5370fffeda Removed the unused accounting-debit-account-code and accounting-credit-account-code HTML classes.
33179e925f Revised the account selector to find the account codes from the form through the TransactionForm class, but not finding the codes by itself.
7d971b43cd Added the missing documentation to the static initialize method of JavaScript TransactionForm class.
4c29da8407 Fixed the documentation of the entryType parameter in the constructor of the JavaScript DebitCreditSideSubForm sub-form.
Compare 4 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-13 20:12:02 +08:00
aca533e38a Reordered the journal entry editor and put the summary first and the account later.
48fa3d7b8e Removed the unused static validateAccount method from the JavaScript journal entry editor.
21c9c41784 Moved the journal entry editor from the transaction-form.js to a new independent JavaScript file journal-entry-editor.js.
44b3c58fd0 Removed the prefix from the journal entry sub-form.
045ce065ce Removed the unused data-prefix attribute from the currency sub-forms of the transaction form.
Compare 15 commits »
imacat pushed to offset at imacat/mia-accounting 2023-03-12 22:17:32 +08:00
9be8c78919 TEMP: Offset
imacat created branch offset in imacat/mia-accounting 2023-03-12 22:17:32 +08:00
imacat pushed to main at imacat/mia-accounting 2023-03-12 22:16:31 +08:00
2b84f64554 Replaced the function-based JavaScript with the object-oriented AccountForm class for the currency form.
0a658a76e8 Replaced the function-based JavaScript with the object-oriented AccountForm class for the account form.
50dc79d865 Added the missing is-invalid class on errors to the currency field in the currency sub-forms of the transaction form.
Compare 3 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-12 01:35:02 +08:00
8e5377a416 Replaced the payable account with the petty-cash account in the SummeryEditorTestCase test case.
4299fd6fbd Revised the code in the JavaScript initializeBaseAccountSelector function in the account form.
1d6a53f7cd Revised the account form so that the if-offset-needed option is only available for real accounts.
Compare 3 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-11 20:37:07 +08:00
bb2993b0c0 Reordered the code in the "accounting.transaction.forms.journal_entry" module.
imacat pushed to main at imacat/mia-accounting 2023-03-11 19:11:16 +08:00
f6946c1165 Revised the IsBalanced validator so that it no longer need the __future__ annotation.
8e219d8006 Fixed the type hint of the form parameter in the NeedSomeJournalEntries validator.
53565eb9e6 Changed the IsBalanced validator from an inner class inside the TransferCurrencyForm form to an independent class.
Compare 3 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-11 18:45:04 +08:00
imacat pushed to main at imacat/mia-accounting 2023-03-11 17:15:35 +08:00
ef7c9f3eb1 Revised the "init-db" console command in the test site to also run the "accounting-init-base", "accounting-init-currencies", and "accounting-init-accounts" console commands.
965e78d8ad Revised the rule for the accounts that need offset in the accounting-init-accounts console command.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-11 16:35:40 +08:00
74b81d3e23 Renamed the offset_original_id column to original_entry_id, and the offset_original relationship to original_entry in the JournalEntry data model.
a0fba6387f Added the order to the search report.
d28bdf2064 Revised the parameter order in the template of the currency sub-form of the transaction form.
edf0c00e34 Shortened the names of the #filterAccountOptions, #getAccountCodeUsedInForm, and #shouldAccountOptionShow methods to #filterOptions, #getCodesUsedInForm, and #shouldOptionShow, respectively, in the JavaScript AccountSelector class.
107d161379 Removed a debug output from the JavaScript AccountSelector class.
Compare 13 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-11 16:34:16 +08:00
3dda6531b5 Split the "accounting.transaction.forms" module into various submodules in the "accounting.transaction.form" module.
imacat pushed to main at imacat/mia-accounting 2023-03-11 12:42:04 +08:00
4e38239fa8 Renamed the offset_original_id column to original_entry_id, and the offset_original relationship to original_entry in the JournalEntry data model.
imacat pushed to main at imacat/mia-accounting 2023-03-11 12:36:07 +08:00
f987ac91cf TEMP: offset.
imacat pushed to main at imacat/mia-accounting 2023-03-11 01:01:59 +08:00
d0bad0022c Added the order to the search report.
d862f52c7e Revised the parameter order in the template of the currency sub-form of the transaction form.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-10 14:53:26 +08:00
260cd9a18f Shortened the names of the #filterAccountOptions, #getAccountCodeUsedInForm, and #shouldAccountOptionShow methods to #filterOptions, #getCodesUsedInForm, and #shouldOptionShow, respectively, in the JavaScript AccountSelector class.
5b1e07f240 Removed a debug output from the JavaScript AccountSelector class.
2effbd680a Rewrote the JavaScript AccountSelector to store the page elements in the object.
396814c0d8 Fixed the parameter type for the JavaScript AccountSelector class.
a3d57bfd70 Added a missing blank line to the JavaScript AccountSelector class.
Compare 11 commits »
imacat pushed tag v0.5.0 to imacat/mia-accounting 2023-03-10 08:37:54 +08:00
imacat pushed to main at imacat/mia-accounting 2023-03-10 08:37:54 +08:00
4d11517e21 Advanced to version 0.5.0.
308e4ac69d Updated the Sphinx documentation.
de09e1498b Added the __get_default_page_uri() function to the "accounting.transaction.views" module to simplify the code.
c26c4686c5 Renamed the "original_id" column to "offset_original_id", and the "original" and "offset" relationships to "offset_original" and "offsets", respectively, in the JournalEntry data model.
c95f4fcc47 Added the __str property and changed the query_values property from a pseudo property to a real property in the AccountOption data model, so that it does not need to hold the account object forever.
Compare 43 commits »