依瑪貓 imacat
imacat pushed to main at imacat/mia-accounting 2023-03-18 23:43:18 +08:00
884e37fe1b Advanced to version 0.6.0.
cc6a73211e Updated the Sphinx documentation.
2299b86d0f Updated the translation.
6d293a1aac Added the JavaScript getInstances method to the SummaryEditor and AccountSelector classes, so that it is easier to deal with the case when the debit and credit versions are not both exist.
a2311aee24 Revised to prevent word wrapping in the button to choose the original entry in the summary editor.
Compare 5 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-18 22:57:40 +08:00
5571c0d01f Renamed all the is_XXX_needed properties to is_need_XXX. For example, especially the is_offset_needed property to is_need_offset, to be clear and understandable.
98e1bad413 Renamed the test_not_needed test to test_not_need in the PaginationTestCase test case.
7ff52d99e6 Removed the unused is_offset_chooser_needed property from the AccountOption data model.
cc440a4110 Renamed the "_is_payable_needed" and "_is_receivable_needed" properties in the TransactionForm form to "_is_need_payable" and "_is_need_receivable", respectively, for readability and understandability.
f5149a0c37 Replaced the long parameter list with the JournalEntrySubForm instance in the onEdit method of the JavaScript JournalEntryEditor, to simplify the code.
Compare 5 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-18 22:11:58 +08:00
ca928636fd Replaces the datasets with object attributes to store the currency code and entry type in the JavaScript OriginalEntrySelector class.
4a8297d594 Revised the documentation of the JavaScript OriginalEntrySelector class.
915e4408e1 Revised the JavaScript to initialize the OriginalEntrySelector instance in JournalEntryEditor, so that the journal entry editor holds the OriginalEntrySelector instance. It can find the OriginalEntrySelector instance without needing to invoke its static methods. Removed the redundant static methods from the OriginalEntrySelector class.
fd9eac06f6 Merged the code in the #initializeSummaryEditors method into the constructor in the JavaScript JournalEntryEditor class.
403942dfc0 Added a missing semicolon in the saveOriginalEntry method of the JavaScript JournalEntryEditor class.
Compare 29 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-18 22:00:22 +08:00
f11685d1c8 Replaces the datasets with object attributes to store the currency code and entry type in the JavaScript OriginalEntrySelector class.
685cc2c846 Revised the documentation of the JavaScript OriginalEntrySelector class.
0a9e32e29d Revised the JavaScript to initialize the OriginalEntrySelector instance in JournalEntryEditor, so that the journal entry editor holds the OriginalEntrySelector instance. It can find the OriginalEntrySelector instance without needing to invoke its static methods. Removed the redundant static methods from the OriginalEntrySelector class.
b8e0ca7b40 Merged the code in the #initializeSummaryEditors method into the constructor in the JavaScript JournalEntryEditor class.
c7addf35c1 Added a missing semicolon in the saveOriginalEntry method of the JavaScript JournalEntryEditor class.
Compare 39 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-17 22:32:31 +08:00
d88b3ac770 Added to track the net balance and offset of the original entries.
imacat pushed to main at imacat/mia-accounting 2023-03-17 22:30:33 +08:00
f41379f7a3 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 17:19:49 +08:00
9b3d5106d6 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 12:55:50 +08:00
27efaa7965 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 12:48:20 +08:00
7ef65665bc TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 12:47:44 +08:00
55ac662648 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 08:52:45 +08:00
4818e94ae9 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 08:52:31 +08:00
imacat pushed to main at imacat/mia-accounting 2023-03-16 20:46:19 +08:00
4b49128eb9 TEMP: Offset
40e329d37f Reordered the validators in the "accounting.transaction.forms.journal_entry" module.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-16 20:41:12 +08:00
648702719c TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-16 01:49:45 +08:00
f1d1110753 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-15 23:23:12 +08:00
23a0721d8d Added assert in the be function in the "accounting.utils.cast" module, to insure the correctness of the expression received.
imacat pushed to main at imacat/mia-accounting 2023-03-15 23:20:52 +08:00
2b2c665eb6 Replaced the if checks with assert in the IsBalanced validator of the currency sub-form of the transaction form, the NoOffsetNominalAccount validator of the account form, and the CodeUnique validator of the currency form.
imacat pushed to main at imacat/mia-accounting 2023-03-15 02:15:26 +08:00
2922bf6e85 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:44:02 +08:00
954173a2c2 Removed the unused list-group-item-success class from style.css.
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:21:28 +08:00
1792e0fd1a Removed the unused list-group-item-success class from style.css