Commit Graph

83 Commits

Author SHA1 Message Date
99fb99b160 Added the view and the templates for the forms of the transactions in the accounting application. 2020-07-27 22:36:28 +08:00
cc18dbd5f1 Reordered the code in the template tags in the Mia core application. 2020-07-27 21:23:40 +08:00
5a2a3a6c56 Fixed the UrlBuilder utility to allow dummy parameter value that is None in the Mia core application. 2020-07-24 07:25:30 +08:00
10cbe2a70f Revised the documentation of the utilities of the Mia core application. 2020-07-24 06:42:33 +08:00
6e49443b88 Renamed the new_id() utility to new_pk() in the Mia core application. 2020-07-23 23:24:42 +08:00
e04736b90d Renamed the new_sn() utility to new_id() in the Mia core application. 2020-07-23 23:04:18 +08:00
6453cd4b8e Added the edit button to the transaction views in the accounting application. 2020-07-23 22:32:34 +08:00
0a29ffaa12 Moved the url_with_return template tag from the accounting application to the Mia core application. 2020-07-23 22:23:40 +08:00
334292e6e8 Revised the url_period() tag in the Mia core application. 2020-07-23 22:19:27 +08:00
25383a3ae6 Employed a regular expression pattern in the PeriodConverter to check the period format first. 2020-07-23 22:13:17 +08:00
d88d3942d2 Removed the url_query() template tag from the Mia core application. 2020-07-23 22:05:41 +08:00
2db3899dea Added the transaction views in the accounting application. 2020-07-23 22:02:26 +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
01dbd7e60b Removed the default order of the users and the countries in the Mia core application. 2020-07-21 21:24:36 +08:00
ebb7c06f91 Applied the set_multi_lingual_attr() utility function to the titles of the accounts and the names of the countries. 2020-07-21 21:23:54 +08:00
8d2d4c39b6 Added the set_multi_lingual_attr() utility function in the Mia core application. 2020-07-21 21:21:43 +08:00
依瑪貓
c6a62d92d5 Added the search page in the accounting application. 2020-07-21 10:04:29 +08:00
361b8c9881 Added the new_sn() utility method to the Mia core application. 2020-07-20 21:55:34 +08:00
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
0525197993 Renamed the variable in the url_period template tag in the Mia core application. 2020-07-17 23:06:10 +08:00
856bcd47ff Revised the url_period template tag so that it works with or without the subject code in the mia_core application. 2020-07-17 23:05:23 +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
a58f6d6d11 Moved the core custom template filters and tags to the template tag library in the Mia core application. 2020-07-16 23:03:37 +08:00
42e444b8c8 Revised the code for PEP8. 2020-07-16 22:25:33 +08:00
5b9ac93ee5 Revised the import of django.utils.timezone.localdate. 2020-07-16 22:22:35 +08:00
983c2a5533 Added the cash summary report in the accounting application. 2020-07-16 00:28:50 +08:00
c65d778a1b Revised Period in the Mia core application. 2020-07-14 22:15:04 +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
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
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
依瑪貓
1212cc2858 Revised the TODO view to accept additional arguments in the Mia core application. 2020-07-14 09:59:56 +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
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
562989bde2 Renamed templatetags to template_tags, and templatefilters to template_filters. 2020-07-11 07:18:14 +08:00
d7f04dbb39 Added the pagination navigation bar and the action buttons to the cash account in the accounting application. 2020-07-11 07:12:53 +08:00
241445bc7a Removed is_safe=True from the smart_date template filter. 2020-07-10 18:54:55 +08:00
f8d25412cb Removed an unused import from templatetags. 2020-07-10 00:30:19 +08:00
a7ec80f066 Added a dummy "TODO" view to the Mia core application. 2020-07-09 23:18:37 +08:00
依瑪貓
e1e61869b7 Revised the documentation of the template tags. 2020-07-09 10:40:42 +08:00
04ca928a3a Added the url_query template tag. 2020-07-09 08:28:16 +08:00
6bdcdd0d78 Renamed the format template tag to str_format, and simplify it. 2020-07-09 01:29:51 +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
依瑪貓
dde75b9805 Added Period as the template period helper, and changed PeriodParser to the inner class Period.Parser. 2020-07-08 10:52:03 +08:00
8cefd0d4bf Removed the unused get_month_range() method from the period parser. 2020-07-08 08:18:57 +08:00