Commit Graph

26 Commits

Author SHA1 Message Date
b8b5546b9f Renamed the variables. 2020-07-19 21:08:10 +08:00
1cd64955a3 Removed the now-unused SqlQuery from the Mia core application. 2020-07-18 23:43:31 +08:00
e2945045f3 Added the default parameter to the get_multi_lingual_attr() function to allow a different default lanugage for a data model. 2020-07-16 23:18:16 +08:00
418dcd9803 Renamed the get_multi_language_attr() method to get_multi_lingual_attr(), and renamed the multi-lingual model fields from _zhtw to _zh_hant, and _zhcn to _zh_hans. 2020-07-16 23:13:15 +08:00
42e444b8c8 Revised the code for PEP8. 2020-07-16 22:25:33 +08:00
94884e72b8 Added and applied the current() method to Language in the Mia core application. 2020-07-14 22:14:39 +08:00
ef4c8ea2ae Renamed the get_default() method to default() in Language in the Mia core application. 2020-07-14 22:12:17 +08:00
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
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
bcb5da1a5e Revised the code to generate the page size options in Pagination, to be clear. 2020-07-09 01:03:03 +08:00
e5d0feadbc Added the page size options to the pagination navigation bar. 2020-07-08 23:40:36 +08:00
6f604f1c86 Revised the documentation. 2020-07-08 07:24:36 +08:00
974d654750 Fixed the documentation of Pagination. 2020-07-07 22:52:29 +08:00
e9509c9bac Changed the links attribute of Pagination to a pseudo attribute that is calculated on request. 2020-07-07 22:49:37 +08:00
19ac9d3200 Added the navigation links for pagination. 2020-07-07 22:18:40 +08:00
3bce775729 Added the trailing blank line in mia_core.utils. 2020-07-07 21:07:25 +08:00
1f748d09ce Fixed the documentation in Pagination. 2020-07-07 21:07:05 +08:00
563a368ab0 Fixed UrlBuilder on its string output. 2020-07-07 21:06:11 +08:00
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
5ff7f444e9 Added documentation to PageNuOutOfRangeError. 2020-07-07 20:55:29 +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
c0f664761e Added documentation to the utilities and views of the Mia Core application. 2020-07-07 20:49:31 +08:00
fbce3ab9ef Revised the documentation. 2020-07-02 00:50:27 +08:00
cff4893c77 Added the UrlBuilder utility to the Mia core. 2020-07-01 23:35:23 +08:00