Commit Graph

18 Commits

Author SHA1 Message Date
d4e7458117 Added type hints to the accounting application. 2020-08-13 07:25:35 +08:00
0996fa59f8 Moved the logic in the make_txn_form_from_post() utility to the constructor of the transaction form, and moved the logic in the make_txn_form_from_status() utility to the txn_form view, and applied the standardized control flow to the txn_form view in the accounting application. 2020-08-12 20:42:31 +08:00
依瑪貓
5e8e8e815e Simplified the parent constructor calls in the data models and the forms. 2020-08-12 15:39:07 +08:00
依瑪貓
05892b9655 Revised the txn_form view to constructs the new transaction form without having to bother the make_txn_form_from_model() utility, in order not to mess up with the is_bound form property, to replace the need for the should_validate template variable, and removed all the should_validate template variables from the transaction form templates in the accounting application. 2020-08-12 11:59:50 +08:00
7596935ca2 Revised the documentation of the forms in the accounting application. 2020-08-09 21:20:58 +08:00
c67bdb9be3 Removed an unused import from the forms of the accounting application. 2020-08-09 21:03:37 +08:00
00ee0cc3bb dded the account_store() view in the accounting application. 2020-08-09 16:22:51 +08:00
fc2cd3e3cc Removed unused imports from the template tags of the Mia core application and the forms of the accounting application. 2020-08-09 13:25:02 +08:00
06631d2df1 Revised the text messages in the account form in the accounting application. 2020-08-09 12:17:07 +08:00
724ba44a71 Added the account form in the accounting application. 2020-08-09 11:52:12 +08:00
3662d154bd Revised the text translation in the accounting application. 2020-08-08 16:26:08 +08:00
06ab17c3a4 Added the validation whether there is any accounting records in the transaction form in the accounting application. 2020-08-08 11:55:25 +08:00
5833af83a9 Stopped merging non-field errors into the ID errors, and joined ID errors into the non-field errors in the record form in the accounting application. 2020-08-08 10:57:32 +08:00
1d79e970c4 Revised the error messages and their translations both in Python and for the JavaScript. 2020-08-06 01:47:01 +08:00
86dfe993a4 Removed the context from the translatable text messages in the accounting application, because it is not needed now. 2020-08-06 00:41:29 +08:00
70bc4e9662 Added to validate if an existing accounting record is a correct debit or credit record in the transaction forms in the accounting application. 2020-08-02 12:01:20 +08:00
0f8f2b7838 Removed the unused debug logging in the record form validation in the accounting application. 2020-08-02 03:27:41 +08:00
9d988f17ca Added forms and validators, and applied them to the transaction form in the accounting application. 2020-08-01 23:56:41 +08:00