Commit Graph

18 Commits

Author SHA1 Message Date
依瑪貓
79442085b6 Moved the get_cash_accounts(), get_ledger_accounts(), find_imbalanced(), and find_order_holes() utilities from accounting.views.reports to accounting.utils in the accounting application. 2020-07-23 09:57:29 +08:00
依瑪貓
9602ba56c7 Moved the Polulator from accounting.populate to accounting.utils in the accounting application. 2020-07-23 09:40:21 +08:00
8890e60fbb Added CashAccountConverter and LedgerAccountConverter and applied them in the URL patterns of the accounting application. 2020-07-23 08:33:53 +08:00
f9a9a99246 Added PeriodConverter to convert a period specification to a period, and applied it in the URL patterns. 2020-07-21 22:05:39 +08:00
依瑪貓
076a68c028 Renamed "subject" to "account" in the accounting application. 2020-07-21 10:38:47 +08:00
依瑪貓
9cab1c2194 Added documentation to the accounting utilities. 2020-07-14 10:02:16 +08:00
069cd9ca74 Revised the parameters of Period. 2020-07-14 07:43:47 +08:00
ea354ae101 Added ReportUrl to help building the report chooser in the accounting application. 2020-07-14 07:41:19 +08:00
6da65f00ba Moved the period parser from the accounting application to the Mia core application. 2020-07-08 07:20:38 +08:00
e48460b9bb Implemented the period parser. 2020-07-08 00:12:48 +08:00
d48d1b017a Moved the pagination and the page number out of range error from the accounting application to the Mia core application. 2020-07-07 20:54:35 +08:00
依瑪貓
0243289946 Revised the code according to the PyCharm and PEP8 inspection. 2020-07-02 09:45:11 +08:00
fbce3ab9ef Revised the documentation. 2020-07-02 00:50:27 +08:00
4537681bb5 Added the documentation to the invalid page number in Pagination. 2020-07-02 00:45:53 +08:00
3abce4498f Revised the pagination to redirect to the URL without the page number if the specific page number is exactly the default page number. That is, the page number is totally unnecessary. 2020-07-02 00:42:34 +08:00
1ddfc96621 Revised to redirect on invalid page size and page number on pagination. 2020-07-01 23:39:32 +08:00
42fe685d53 Added a simple pagination filter and refined the cash report. 2020-06-30 23:49:21 +08:00
06b8d470fb Added simple views for the accounting cash report. 2020-06-30 20:59:24 +08:00