Commit Graph

64 Commits

Author SHA1 Message Date
fa034b9a6a Added the get_multi_language_attr() function to the Mia core application, to deal with the multi-lingual attributes, and applied it in the data models. 2020-07-14 22:01:32 +08:00
39c75f772a Added the balance-before record and the sum record to the cash account report. Moved the SqlQuery utility from the accounting application to the Mia core application. 2020-07-13 19:54:27 +08:00
依瑪貓
e59d8738fa Renamed the routes of the transactions. 2020-07-09 10:46:32 +08:00
a26247f752 Revised the has_order_hole attribute of the accounting transaction data model. 2020-07-07 19:33:34 +08:00
83f97a6467 Restored the missing _has_order_hole attribute to the accounting transaction model. 2020-07-07 19:32:19 +08:00
bf20fc8a72 Added the has_many_same_day property to the accounting transactions. 2020-07-07 07:12:26 +08:00
e6401e75ae Implemented has_order_hole in Transaction, and added the caches and setters to the pseudo properties is_balanced and has_order_hole. 2020-07-07 07:10:24 +08:00
37e793f340 Revised the cash report template. 2020-07-06 23:58:47 +08:00
714086e8e2 Applied the User model to the data models in the accounting application. Changed the primary keys of the accounting application to positive integers. 2020-07-06 00:09:26 +08:00
依瑪貓
0243289946 Revised the code according to the PyCharm and PEP8 inspection. 2020-07-02 09:45:11 +08:00
a48a885ed6 Added the get_absolute_url() method to the accounting transactions. 2020-07-01 00:43:46 +08:00
06b8d470fb Added simple views for the accounting cash report. 2020-06-30 20:59:24 +08:00
48d9d742ec Added the data models of the accounting application. 2020-06-30 05:41:36 +08:00
fb95c0e073 Added the accounting application. 2020-06-29 19:41:52 +08:00