Commit Graph

262 Commits

Author SHA1 Message Date
861b1eeda2 Revised the template of the cash account for readibility in the accounting application 2020-07-16 20:47:40 +08:00
b589539af3 Fixed the cash account report to indicate the current subject in the subject selection in the accounting application. 2020-07-16 20:44:25 +08:00
5c976226ff Revised the documentation of the templates in the accounting application. 2020-07-16 07:47:41 +08:00
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
983c2a5533 Added the cash summary report in the accounting application. 2020-07-16 00:28:50 +08:00
77da7862c6 Removed an unnecessary if-condition in the template of the cash account. 2020-07-15 19:07:22 +08:00
14ed892534 Revised the cash account view in the accounting application. 2020-07-14 22:16:13 +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
a8d18ddd1e Removed the debugging content from the cash account in the accounting application. 2020-07-14 21:28:28 +08:00
e00cf7656b Added the subject selector for the cash account in the accounting application. 2020-07-14 21:27:30 +08:00
依瑪貓
c42120d1a7 Removed the debug logging in the accounting_amount filter. 2020-07-14 10:52:49 +08:00
依瑪貓
cafbeffa28 Applied text color to negative values in the cash account. 2020-07-14 10:52:08 +08:00
依瑪貓
46b20ab500 Added the accounting_amount template filter and applied it in the cash account. 2020-07-14 10:48:10 +08:00
依瑪貓
9cab1c2194 Added documentation to the accounting utilities. 2020-07-14 10:02:16 +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
2f53bcfd43 Moved accounting/views.py to accounting/views/_init__.py. 2020-07-11 10:12:23 +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
03d293d545 Added all the URL of the accounting application, using the dummy TODO view. Also applied the dummy TODO view to the URL that are not implemented yet. 2020-07-09 23:19:48 +08:00
a7ec80f066 Added a dummy "TODO" view to the Mia core application. 2020-07-09 23:18:37 +08:00
依瑪貓
e59d8738fa Renamed the routes of the transactions. 2020-07-09 10:46:32 +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
d96a606e3a Removed the debug code in the cash account report. 2020-07-09 08:16:14 +08:00
faddceb074 Simplified the title in the cash account report. 2020-07-09 08:15:55 +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
依瑪貓
fc2e89ca1a Added the currently-specified subject to the template variables, and use it in the template. 2020-07-08 11:07:00 +08:00
依瑪貓
149aa8391a Revised the view of the cash account to use the first and last day of the data from the data source. 2020-07-08 11:00:14 +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
56ae1bb29a Renamed the parameter period_spec to spec in the period parser. 2020-07-08 08:13:47 +08:00
39d65e1381 Revised the text message in the period parser. 2020-07-08 07:45:18 +08:00
ad0eb6e73e Renamed the template variable from period_parser to period. 2020-07-08 07:40:50 +08:00
76df32a76d Revised the period parser. 2020-07-08 07:40:07 +08:00
6f604f1c86 Revised the documentation. 2020-07-08 07:24:36 +08:00
6da65f00ba Moved the period parser from the accounting application to the Mia core application. 2020-07-08 07:20:38 +08:00
d047be7ba9 Added the format template tag that does sprintf-like string format in the templates. 2020-07-08 00:58:25 +08:00
db860619f1 Added the period parser to the base report view and the template variables 2020-07-08 00:29:41 +08:00