Commit Graph

18 Commits

Author SHA1 Message Date
897f82bd26 Moved part of the pagination logic from the view to Pagination. 2020-07-07 21:04:07 +08:00
df0380362b Renamed PageNoOutOfRangeError to PageNoOutOfRangeException. 2020-07-07 20:56:01 +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
a26247f752 Revised the has_order_hole attribute of the accounting transaction data model. 2020-07-07 19:33:34 +08:00
405ae2307e Added the digest_login_required decorator. 2020-07-06 22:26:29 +08:00
68cf985671 Changed the decorator from @require_http_methods to @require_GET in the accounting module 2020-07-06 21:36:31 +08:00
62f960c081 Addded a simple authentication request to the cash report view. 2020-07-06 00:10:38 +08:00
依瑪貓
0243289946 Revised the code according to the PyCharm and PEP8 inspection. 2020-07-02 09:45:11 +08:00
d19b12509f Removed an unused import from the views of the accounting application. 2020-07-02 02:04:16 +08:00
fbce3ab9ef Revised the documentation. 2020-07-02 00:50:27 +08:00
1ddfc96621 Revised to redirect on invalid page size and page number on pagination. 2020-07-01 23:39:32 +08:00
eb07cc30ba Removed the unused imports from the views of the accounting application. 2020-07-01 00:54:41 +08:00
51ec6f7eed Revised the documentation of the get_query_number() function. 2020-07-01 00:54:15 +08:00
37cddf478c Changed the get_number_query() method to the get_query_number() function, so that it is shared by different view classes. 2020-07-01 00:52:38 +08:00
967c51075c Removed an unused variable from the views. 2020-07-01 00:45:33 +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
fb95c0e073 Added the accounting application. 2020-06-29 19:41:52 +08:00