Commit Graph

71 Commits

Author SHA1 Message Date
imacat 5855c1dd2b Added the balance value to the total record in the cash account summary and ledger summary in the accounting application. 2020-07-17 00:17:18 +08:00
imacat 3156bc97c0 Revised the cash account summary in the accounting application. 2020-07-17 00:13:52 +08:00
imacat 70c3f01368 Added the ledger summary in the accounting application. 2020-07-17 00:12:30 +08:00
imacat 4fec46413f Simplified the code in the cash_summary() and ledger() views in the accounting application. 2020-07-16 23:40:35 +08:00
imacat ba119c4ed0 Applied f-string to compose the SQL statements in the views of the accounting application. 2020-07-16 23:35:10 +08:00
imacat 1f80f8a4d6 Revised the codes in the views of the accounting application to avoid long lines. 2020-07-16 23:25:10 +08:00
imacat fb37da4ac0 Fixed a typo in the cash account in the accounting application. 2020-07-16 23:19:23 +08:00
imacat 5b9ac93ee5 Revised the import of django.utils.timezone.localdate. 2020-07-16 22:22:35 +08:00
imacat 27f762a1c0 Removed unused imports 2020-07-16 22:19:05 +08:00
imacat 847f8dc402 Added the ledger in the accounting application. 2020-07-16 22:12:59 +08:00
imacat df2c324ce0 Added _find_imbalanced() and _find_order_holes() methods as shortcuts to tag the accounting records with problems. 2020-07-16 07:45:16 +08:00
imacat 983c2a5533 Added the cash summary report in the accounting application. 2020-07-16 00:28:50 +08:00
imacat 14ed892534 Revised the cash account view in the accounting application. 2020-07-14 22:16:13 +08:00
imacat e895de3abc Changed Period to use the current language instead of expecting the language passed by the caller. 2020-07-14 22:10:27 +08:00
imacat 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
imacat e00cf7656b Added the subject selector for the cash account in the accounting application. 2020-07-14 21:27:30 +08:00
imacat 069cd9ca74 Revised the parameters of Period. 2020-07-14 07:43:47 +08:00
imacat ea354ae101 Added ReportUrl to help building the report chooser in the accounting application. 2020-07-14 07:41:19 +08:00
imacat 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
imacat fa7416d0f3 Replaced the CashReportView list view with the cash view function, to simplify. Moved the pagination query parameter parser from the view to Pagination. 2020-07-11 17:23:38 +08:00
imacat 2f53bcfd43 Moved accounting/views.py to accounting/views/_init__.py. 2020-07-11 10:12:23 +08:00