a03c701a31Fixed the model query so that the brought-forward balance in the ledger will not be None in the accounting application.依瑪貓2020-07-18 11:24:33 +0800
ed0c29f360Replaced the SQL query in the cash account with the Django model query in the accounting application.依瑪貓2020-07-18 10:32:15 +0800
c21f079321Fixed the date of the brought-forward record in the accounting application.依瑪貓2020-07-18 08:46:30 +0800
85b8515a0aSimplified the query to get the brought-forward balance in the ledger in the accounting transaction.依瑪貓2020-07-18 08:45:41 +0800
dae002387fFixed the report URL parameter used in the ledger summary in the accounting application.依瑪貓2020-07-18 08:20:43 +0800
393535b6bdRevised the accounting_amount filter to return "-" on 0 in the accounting application.依瑪貓2020-07-18 08:17:19 +0800
cb0d42ddd8Simplified the query in the ledger summary in the accounting application.依瑪貓2020-07-18 08:15:54 +0800
753e69d4e9Renamed the credit_amount attribute to credit and debit_summary to debit in RecordSummary in the accounting application.依瑪貓2020-07-18 07:52:16 +0800
a15a359ca7Revised the view of the ledger summary and replaced the raw SQL query with the Django model query in the accounting transaction.依瑪貓2020-07-18 07:46:01 +0800
ff9146c8b1Revised the view of the ledger and replaced the raw SQL query with the Django model query in the accounting transaction.依瑪貓2020-07-18 00:08:39 +0800
39428d1d35Fixed the ledger when there is no brought-forward records in the accounting application.依瑪貓2020-07-17 23:34:00 +0800
4c821a73eaAdded the accounting journal in the accounting application.依瑪貓2020-07-17 23:27:49 +0800
0525197993Renamed the variable in the url_period template tag in the Mia core application.依瑪貓2020-07-17 23:06:10 +0800
856bcd47ffRevised 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 +0800
f33a1631faRevised the comments in the view of the accounting application.依瑪貓2020-07-17 07:18:58 +0800
7f7e2c7100Revised the code in the views of the accounting application.依瑪貓2020-07-17 00:19:41 +0800
5855c1dd2bAdded the balance value to the total record in the cash account summary and ledger summary in the accounting application.依瑪貓2020-07-17 00:17:18 +0800
44a778f4f5Fixed the subject URL in the ledger summary in the accounting application.依瑪貓2020-07-17 00:15:32 +0800
3156bc97c0Revised the cash account summary in the accounting application.依瑪貓2020-07-17 00:13:52 +0800
70c3f01368Added the ledger summary in the accounting application.依瑪貓2020-07-17 00:12:30 +0800
d9ccefa27cRevised the template of the cash summary in the accounting transaction.依瑪貓2020-07-16 23:59:07 +0800
c189c78f4cRemoved an excess blank line in the template of the cash summary in the accounting application.依瑪貓2020-07-16 23:51:49 +0800
229e01a3d9Revised the template of the cash summary for long lines in the accounting application.依瑪貓2020-07-16 23:50:32 +0800
d47010e51aFixed the cash summary to indicate the current subject in the subject selection in the accounting application.依瑪貓2020-07-16 23:48:34 +0800
a9c7a8328eFixed the documentation of the templates of the cash account and ledger in the accounting application.依瑪貓2020-07-16 23:45:43 +0800
4fec46413fSimplified the code in the cash_summary() and ledger() views in the accounting application.依瑪貓2020-07-16 23:40:35 +0800
ba119c4ed0Applied f-string to compose the SQL statements in the views of the accounting application.依瑪貓2020-07-16 23:35:10 +0800
1f80f8a4d6Revised the codes in the views of the accounting application to avoid long lines.依瑪貓2020-07-16 23:25:10 +0800
fb37da4ac0Fixed a typo in the cash account in the accounting application.依瑪貓2020-07-16 23:19:23 +0800
e2945045f3Added 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 +0800
418dcd9803Renamed 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 +0800
a58f6d6d11Moved the core custom template filters and tags to the template tag library in the Mia core application.依瑪貓2020-07-16 23:03:37 +0800
42e444b8c8Revised the code for PEP8.依瑪貓2020-07-16 22:25:33 +0800
5b9ac93ee5Revised the import of django.utils.timezone.localdate.依瑪貓2020-07-16 22:22:35 +0800
847f8dc402Added the ledger in the accounting application.依瑪貓2020-07-16 22:12:59 +0800
9c053148d4Revised the subject selector in the template of the cash account in the accounting application.依瑪貓2020-07-16 20:55:08 +0800
861b1eeda2Revised the template of the cash account for readibility in the accounting application依瑪貓2020-07-16 20:47:40 +0800
b589539af3Fixed the cash account report to indicate the current subject in the subject selection in the accounting application.依瑪貓2020-07-16 20:44:25 +0800
5c976226ffRevised the documentation of the templates in the accounting application.依瑪貓2020-07-16 07:47:41 +0800
df2c324ce0Added _find_imbalanced() and _find_order_holes() methods as shortcuts to tag the accounting records with problems.依瑪貓2020-07-16 07:45:16 +0800
983c2a5533Added the cash summary report in the accounting application.依瑪貓2020-07-16 00:28:50 +0800
77da7862c6Removed an unnecessary if-condition in the template of the cash account.依瑪貓2020-07-15 19:07:22 +0800
14ed892534Revised the cash account view in the accounting application.依瑪貓2020-07-14 22:16:13 +0800
c65d778a1bRevised Period in the Mia core application.依瑪貓2020-07-14 22:15:04 +0800
94884e72b8Added and applied the current() method to Language in the Mia core application.依瑪貓2020-07-14 22:14:39 +0800
ef4c8ea2aeRenamed the get_default() method to default() in Language in the Mia core application.依瑪貓2020-07-14 22:12:17 +0800
e895de3abcChanged Period to use the current language instead of expecting the language passed by the caller.依瑪貓2020-07-14 22:10:27 +0800
fa034b9a6aAdded 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 +0800
a8d18ddd1eRemoved the debugging content from the cash account in the accounting application.依瑪貓2020-07-14 21:28:28 +0800
e00cf7656bAdded the subject selector for the cash account in the accounting application.依瑪貓2020-07-14 21:27:30 +0800
c42120d1a7Removed the debug logging in the accounting_amount filter.
依瑪貓
2020-07-14 10:52:49 +0800
cafbeffa28Applied text color to negative values in the cash account.
依瑪貓
2020-07-14 10:52:08 +0800
46b20ab500Added the accounting_amount template filter and applied it in the cash account.
依瑪貓
2020-07-14 10:48:10 +0800
9cab1c2194Added documentation to the accounting utilities.
依瑪貓
2020-07-14 10:02:16 +0800
1212cc2858Revised the TODO view to accept additional arguments in the Mia core application.
依瑪貓
2020-07-14 09:59:56 +0800
069cd9ca74Revised the parameters of Period.依瑪貓2020-07-14 07:43:47 +0800
ea354ae101Added ReportUrl to help building the report chooser in the accounting application.依瑪貓2020-07-14 07:41:19 +0800
39c75f772aAdded 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 +0800
fa7416d0f3Replaced 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 +0800
2f53bcfd43Moved accounting/views.py to accounting/views/_init__.py.依瑪貓2020-07-11 10:12:09 +0800
562989bde2Renamed templatetags to template_tags, and templatefilters to template_filters.依瑪貓2020-07-11 07:18:14 +0800
d7f04dbb39Added the pagination navigation bar and the action buttons to the cash account in the accounting application.依瑪貓2020-07-11 07:12:53 +0800
241445bc7aRemoved is_safe=True from the smart_date template filter.依瑪貓2020-07-10 18:54:55 +0800
f8d25412cbRemoved an unused import from templatetags.依瑪貓2020-07-10 00:30:19 +0800
03d293d545Added 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 +0800
a7ec80f066Added a dummy "TODO" view to the Mia core application.依瑪貓2020-07-09 23:18:37 +0800
e59d8738faRenamed the routes of the transactions.
依瑪貓
2020-07-09 10:46:19 +0800
e1e61869b7Revised the documentation of the template tags.
依瑪貓
2020-07-09 10:40:42 +0800
04ca928a3aAdded the url_query template tag.依瑪貓2020-07-09 08:28:16 +0800
d96a606e3aRemoved the debug code in the cash account report.依瑪貓2020-07-09 08:16:14 +0800
faddceb074Simplified the title in the cash account report.依瑪貓2020-07-09 08:15:55 +0800
6bdcdd0d78Renamed the format template tag to str_format, and simplify it.依瑪貓2020-07-09 01:29:51 +0800
bcb5da1a5eRevised the code to generate the page size options in Pagination, to be clear.依瑪貓2020-07-09 01:03:03 +0800
e5d0feadbcAdded the page size options to the pagination navigation bar.依瑪貓2020-07-08 23:40:36 +0800
fc2e89ca1aAdded the currently-specified subject to the template variables, and use it in the template.
依瑪貓
2020-07-08 11:07:00 +0800
149aa8391aRevised 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 +0800
dde75b9805Added Period as the template period helper, and changed PeriodParser to the inner class Period.Parser.
依瑪貓
2020-07-08 10:52:03 +0800
8cefd0d4bfRemoved the unused get_month_range() method from the period parser.依瑪貓2020-07-08 08:18:57 +0800
56ae1bb29aRenamed the parameter period_spec to spec in the period parser.依瑪貓2020-07-08 08:13:47 +0800
39d65e1381Revised the text message in the period parser.依瑪貓2020-07-08 07:45:18 +0800
ad0eb6e73eRenamed the template variable from period_parser to period.依瑪貓2020-07-08 07:40:50 +0800
76df32a76dRevised the period parser.依瑪貓2020-07-08 07:40:07 +0800
6f604f1c86Revised the documentation.依瑪貓2020-07-08 07:24:36 +0800
6da65f00baMoved the period parser from the accounting application to the Mia core application.依瑪貓2020-07-08 07:20:08 +0800
d047be7ba9Added the format template tag that does sprintf-like string format in the templates.依瑪貓2020-07-08 00:58:25 +0800
db860619f1Added the period parser to the base report view and the template variables依瑪貓2020-07-08 00:29:41 +0800
097e699ccfReplaced now() with localdate() when finding the default period in the view of the cash reports.依瑪貓2020-07-08 00:14:36 +0800
e48460b9bbImplemented the period parser.依瑪貓2020-07-08 00:12:48 +0800
974d654750Fixed the documentation of Pagination.依瑪貓2020-07-07 22:52:00 +0800
92867c3e97Changed the pagination template variable to pagination_links.依瑪貓2020-07-07 22:50:57 +0800
e9509c9bacChanged the links attribute of Pagination to a pseudo attribute that is calculated on request.依瑪貓2020-07-07 22:49:37 +0800
19ac9d3200Added the navigation links for pagination.依瑪貓2020-07-07 22:18:40 +0800
3bce775729Added the trailing blank line in mia_core.utils.依瑪貓2020-07-07 21:07:25 +0800
1f748d09ceFixed the documentation in Pagination.依瑪貓2020-07-07 21:07:05 +0800
563a368ab0Fixed UrlBuilder on its string output.依瑪貓2020-07-07 21:06:11 +0800
897f82bd26Moved part of the pagination logic from the view to Pagination.依瑪貓2020-07-07 21:04:07 +0800
df0380362bRenamed PageNoOutOfRangeError to PageNoOutOfRangeException.依瑪貓2020-07-07 20:56:01 +0800
5ff7f444e9Added documentation to PageNuOutOfRangeError.依瑪貓2020-07-07 20:55:29 +0800
d48d1b017aMoved 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 +0800