fc2be75c3bChanged the type of the amount property in the testing JournalEntryData data model from string to Decimal.imacat2023-03-18 03:21:47 +0800
96c131940bRevised the date limitation tests in the OffsetTestCase test case, to be clear.imacat2023-03-18 03:08:08 +0800
b9435a255bAdded the "/.errors" route to the application in the "create_test_app" function in testlib.py, to make it easier to test.imacat2023-03-18 02:59:28 +0800
56045f0fafRemoved the unused __entry pseudo property from the JournalEntryForm form.imacat2023-03-17 22:52:38 +0800
08d1e60238Fixed the journal, the ledger, the income ane expenses log, and the search result to respect the transaction number before the debit/credit and the journal entry nuber.imacat2023-03-17 22:39:29 +0800
d88b3ac770Added to track the net balance and offset of the original entries.imacat2023-03-17 22:32:01 +0800
40e329d37fReordered the validators in the "accounting.transaction.forms.journal_entry" module.imacat2023-03-16 20:42:32 +0800
23a0721d8dAdded assert in the be function in the "accounting.utils.cast" module, to insure the correctness of the expression received.依瑪貓2023-03-15 23:23:01 +0800
2b2c665eb6Replaced 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.依瑪貓2023-03-15 22:25:24 +0800
954173a2c2Removed the unused list-group-item-success class from style.css.依瑪貓2023-03-15 01:20:43 +0800
91e6dc6668Removed an excess tailing blank line from the "accounting.currency.views" module.依瑪貓2023-03-15 01:06:53 +0800
e9d8a8fcd8Added the "accounting.utils.cast" module to cast the things to the expected type in order to supress the warnings from PyCharm.依瑪貓2023-03-15 01:06:15 +0800
4c84686395Removed an unused import from the "accounting" module.依瑪貓2023-03-15 00:51:56 +0800
61fd1849edRemoved the annotation future import from the "accounting.transaction.utils.account_option", "accounting.transaction.forms.journal_entry", and "accounting.transaction.forms.reorder" modules.依瑪貓2023-03-14 21:51:19 +0800
a67158f8f6Moved the CodeUnique validator from an inner class of the CurrencyForm form to an independent class, and removed the annotation future import from the "accounting.currency.forms" module.依瑪貓2023-03-14 21:48:11 +0800
5c6bfd8b49Revised the coding style of the NeedSomeCurrencies validator.依瑪貓2023-03-14 21:42:02 +0800
d9ecf51c6dAdded the "create_test_app" function in testlib.py to replace "create_app" to prevent common mistakes. Added a get_csrf_token_view route to the application, and changed the get_csrf_token function to retrieve the CSRF token with the route without parsing the HTML for the CSRF token.依瑪貓2023-03-14 21:28:35 +0800
5d31eb9172Removed the unnecessary future annotation import from the "accounting.transaction.forms.transaction" module.依瑪貓2023-03-14 20:44:06 +0800
fadce244c5Revised the type hint and the coding style of the NeedSomeCurrencies validator.依瑪貓2023-03-14 20:43:28 +0800
cbe7c6ca6dAdded dummy.js to .gitignore and MANIFEST.in for exclusion.依瑪貓2023-03-14 09:11:35 +0800
b03938fb2eAdded test_temp.py to the exclusion in MANIFEST.in.依瑪貓2023-03-14 08:48:40 +0800
8061a23fdcRenamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.依瑪貓2023-03-14 08:16:32 +0800
cd8a480cd0Revised the documentation of the AbstractUserUtils class.依瑪貓2023-03-14 07:59:37 +0800
b8b87714ebRevised the documentation of the JavaScript summary editor.依瑪貓2023-03-14 01:17:54 +0800
bf2f96621dRevised 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-13 23:18:52 +0800
2d771f04beFixed so that saving the journal entry from the journal entry editor triggers updating the total of the debit or credit side, which in turn triggers validating the balance if it is on a transfer form. This fixed the problem that deleting a journal entry updates total but not re-validating the balance.依瑪貓2023-03-13 22:53:10 +0800
3a12472d4bFixed the indent in the template of the account selector.依瑪貓2023-03-13 21:39:05 +0800
d5a686a5d8Removed trailing blank spaces from the JavaScript summary editor.依瑪貓2023-03-13 21:14:16 +0800
690f89e29aRemoved the unused accounting-debit-account-code and accounting-credit-account-code HTML classes.依瑪貓2023-03-13 21:06:23 +0800
82a6a53dc4Revised the account selector to find the account codes from the form through the TransactionForm class, but not finding the codes by itself.依瑪貓2023-03-13 21:04:39 +0800
cdd31b1047Added the missing documentation to the static initialize method of JavaScript TransactionForm class.依瑪貓2023-03-13 20:49:33 +0800
5bad949cfaFixed the documentation of the entryType parameter in the constructor of the JavaScript DebitCreditSideSubForm sub-form.依瑪貓2023-03-13 20:47:03 +0800
3826646d06Reordered the journal entry editor and put the summary first and the account later.依瑪貓2023-03-13 20:08:47 +0800
74071e8997Removed the unused static validateAccount method from the JavaScript journal entry editor.依瑪貓2023-03-13 20:04:55 +0800
3ce34803f3Moved the journal entry editor from the transaction-form.js to a new independent JavaScript file journal-entry-editor.js.依瑪貓2023-03-13 20:00:58 +0800
232f73172fRemoved the prefix from the journal entry sub-form.依瑪貓2023-03-13 19:57:07 +0800
ff1bb7142bRemoved the unused data-prefix attribute from the currency sub-forms of the transaction form.依瑪貓2023-03-13 19:52:04 +0800
7155bf635aRemoved the data-entry-type attribute from the journal entry editor form. The entry type is passed by the object. There is no need to store this information in the HTML anymore.依瑪貓2023-03-13 19:49:43 +0800
c306ff8009Revised 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-13 19:47:29 +0800
b344abce06Added the #prefix property to the journal entry editor to simplify the consistency.依瑪貓2023-03-13 18:40:15 +0800
b3c666c872Fixed the addJournalEntry method of the DebitCreditSideSubForm sub-form to re-validate the whole side after a new journal entry is added.依瑪貓2023-03-13 18:36:11 +0800
6a671cac84Revised the JavaScript journal entry editor and summary editor so that the summary editor work with the journal entry editor and does not get into the detail of the journal entry editor.依瑪貓2023-03-13 18:34:17 +0800
fe87c3a7deFixed the documentation of the #side property of the JavaScript JournalEntryEditor class.依瑪貓2023-03-13 17:54:56 +0800
2013f8cbd9Removed the initializeNewJournalEntry method from the JavaScript SummaryEditor. It does not do meaningful things at all.依瑪貓2023-03-13 17:51:51 +0800
2325842471Fixed the documentation of the JavaScript for the transaction form.依瑪貓2023-03-13 17:43:24 +0800
c80e58b049Renamed the journal entry form to journal entry editor, to be clear.依瑪貓2023-03-13 17:26:29 +0800
be0ae5eba4Replaced the function-based JavaScript with the object-oriented TransactionForm, CurrencySubForm, DebitCreditSideSubForm, JournalEntrySubForm, and JournalEntryForm classes for the transaction form.依瑪貓2023-03-13 17:17:01 +0800
2b84f64554Replaced the function-based JavaScript with the object-oriented AccountForm class for the currency form.依瑪貓2023-03-12 21:40:25 +0800
0a658a76e8Replaced the function-based JavaScript with the object-oriented AccountForm class for the account form.依瑪貓2023-03-12 18:01:11 +0800
50dc79d865Added the missing is-invalid class on errors to the currency field in the currency sub-forms of the transaction form.依瑪貓2023-03-12 16:50:23 +0800
8e5377a416Replaced the payable account with the petty-cash account in the SummeryEditorTestCase test case.依瑪貓2023-03-12 01:33:35 +0800
4299fd6fbdRevised the code in the JavaScript initializeBaseAccountSelector function in the account form.依瑪貓2023-03-11 23:36:07 +0800
1d6a53f7cdRevised the account form so that the if-offset-needed option is only available for real accounts.依瑪貓2023-03-11 23:31:09 +0800
bb2993b0c0Reordered the code in the "accounting.transaction.forms.journal_entry" module.依瑪貓2023-03-11 20:35:50 +0800
f6946c1165Revised the IsBalanced validator so that it no longer need the __future__ annotation.依瑪貓2023-03-11 19:08:10 +0800
8e219d8006Fixed the type hint of the form parameter in the NeedSomeJournalEntries validator.依瑪貓2023-03-11 19:07:43 +0800
53565eb9e6Changed the IsBalanced validator from an inner class inside the TransferCurrencyForm form to an independent class.依瑪貓2023-03-11 19:07:12 +0800
965e78d8adRevised the rule for the accounts that need offset in the accounting-init-accounts console command.依瑪貓2023-03-11 16:58:22 +0800
74b81d3e23Renamed the offset_original_id column to original_entry_id, and the offset_original relationship to original_entry in the JournalEntry data model.依瑪貓2023-03-11 12:40:51 +0800
a0fba6387fAdded the order to the search report.依瑪貓2023-03-11 01:01:05 +0800
d28bdf2064Revised the parameter order in the template of the currency sub-form of the transaction form.依瑪貓2023-03-10 16:44:44 +0800
edf0c00e34Shortened the names of the #filterAccountOptions, #getAccountCodeUsedInForm, and #shouldAccountOptionShow methods to #filterOptions, #getCodesUsedInForm, and #shouldOptionShow, respectively, in the JavaScript AccountSelector class.依瑪貓2023-03-10 14:03:38 +0800
107d161379Removed a debug output from the JavaScript AccountSelector class.依瑪貓2023-03-10 14:01:06 +0800
f2c184f769Rewrote the JavaScript AccountSelector to store the page elements in the object.依瑪貓2023-03-10 12:51:37 +0800
b45986ecfcFixed the parameter type for the JavaScript AccountSelector class.依瑪貓2023-03-10 12:03:06 +0800
a2c2452ec5Added a missing blank line to the JavaScript AccountSelector class.依瑪貓2023-03-10 12:00:53 +0800
5194258b48Removed the redundant #init method from the JavaScript AccountSelector class.依瑪貓2023-03-10 12:00:33 +0800
3fe7eb41acRemoved the unused "__in_use_account_id" property from the TransactionForm form.依瑪貓2023-03-10 09:17:55 +0800
7fb9e2f0a1Added missing documentation to the OptionLink data model in the "accounting.report.utils.option_link" module.依瑪貓2023-03-10 09:16:32 +0800
1d443f7b76Renamed the "accounting.transaction.form" module to "accounting.transaction.forms". It only contains forms now.依瑪貓2023-03-10 09:13:47 +0800
6ad4fba9cdMoved the "accounting.transaction.operators", "accounting.transaction.summary_editor" and "accounting.transaction.form.account_option" modules into the "accounting.transaction.utils" module.依瑪貓2023-03-10 09:12:36 +0800
3dda6531b5Split the "accounting.transaction.forms" module into various submodules in the "accounting.transaction.form" module.依瑪貓2023-03-10 09:06:57 +0800
308e4ac69dUpdated the Sphinx documentation.依瑪貓2023-03-10 08:36:08 +0800
de09e1498bAdded the __get_default_page_uri() function to the "accounting.transaction.views" module to simplify the code.依瑪貓2023-03-10 08:34:11 +0800
c26c4686c5Renamed 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.依瑪貓2023-03-10 08:17:53 +0800
c95f4fcc47Added 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.依瑪貓2023-03-09 22:50:18 +0800
71af74fc8aAdded documentation to the properties of the AccountOption data model.依瑪貓2023-03-09 22:47:46 +0800
56e972c371Fixed so that the download buttons on the report pages are disabled when there is no data.依瑪貓2023-03-09 22:29:44 +0800
7feb6da062Fixed the JavaScript period chooser error when there is no data.依瑪貓2023-03-09 22:25:26 +0800
af71874f9dFixed an error checking if there is any data in the PeriodChooser utility.依瑪貓2023-03-09 22:20:24 +0800
3fa8818a27Added the is_check_as parameter to the get_txn_op function so that the "as" query parameter is not checked when showing the transaction detail.依瑪貓2023-03-09 22:04:21 +0800
be46d8aa14Renamed the default_io_account_code and default_io_account functions to default_ie_account_code and default_ie_account, respectively. That was a mistake.依瑪貓2023-03-09 20:57:40 +0800
20f55058acShortened the name of the "accounting.report.utils.income_expenses_account" module to "accounting.report.utils.ie_account".依瑪貓2023-03-09 20:56:34 +0800
e9d1a53e03Shortened the name of the "accounting.report.utils.income_expenses_account" module to "accounting.report.utils.ie_account".依瑪貓2023-03-09 20:55:47 +0800
38141759fdRemoved an excess blank line in the "accounting.report.view" module.依瑪貓2023-03-09 20:40:36 +0800
7fb3e3bc2cShortened the names of the views of the reports.依瑪貓2023-03-09 20:40:16 +0800
05ac5158f8Added the default report view as the income and expenses log with the default currency, default account and default period. Changed the previous default journal links to the current default.依瑪貓2023-03-09 20:37:39 +0800
ec257a4b57Renamed the "accounting.report.period.periods" module to "accounting.report.period.shortcuts", to be clear.依瑪貓2023-03-09 20:13:15 +0800
5ebb89a6d5Moved the month_end utility from the "accounting.report.period.period" module to the new "accounting.report.period.month_end" module.依瑪貓2023-03-09 19:56:06 +0800
900d60d1aeMoved the shortcut named periods from the "accounting.report.period.period" module to the "accounting.report.period.periods" module.依瑪貓2023-03-09 19:44:53 +0800
bc792c145fReplaced the Period.get_instance method with the get_period function in the "accounting.report.period.parser" module. Changed the parse_spec function in the "accounting.report.period.parser" to private.依瑪貓2023-03-09 19:40:34 +0800
4432484acdReplaced the PeriodSpecification object-based utility with the get_spec function-based utility, for simplicity.依瑪貓2023-03-09 19:30:36 +0800
7ad3f9e0cbReplaced the PeriodDescription object-based utility with the get_desc function-based utility, for simplicity.依瑪貓2023-03-09 19:22:06 +0800
060a52f7a2Moved the period specification parser from the "accounting.report.period.period" module to the "accounting.report.period.parser" module.依瑪貓2023-03-09 19:10:21 +0800
c17430d211Renamed the "accounting.report.period.period_chooser" module to "accounting.report.period.chooser", for simplicity.依瑪貓2023-03-09 19:07:58 +0800
8fd99bb617Simplified the import of the datetime module in the "accounting.report.period.period" module.依瑪貓2023-03-09 19:05:27 +0800
ce388eb6c8Moved the PeriodSpecification and PeriodDescription utilities from the "accounting.report.period.period" module to the "accounting.report.period.specification" and "accounting.report.period.description" modules, respectively.依瑪貓2023-03-09 18:57:29 +0800
1850f9787eMoved the period and period chooser to the "accounting.report.period" module.依瑪貓2023-03-09 18:30:33 +0800
c6d55fad1cRenamed the "accounting.report.utils.period_choosers" module to "accounting.report.utils.period_chooser", because there is only period chooser now.依瑪貓2023-03-09 18:14:20 +0800