imacat
|
0525197993
|
Renamed the variable in the url_period template tag in the Mia core application.
|
2020-07-17 23:06:10 +08:00 |
|
imacat
|
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 |
|
imacat
|
f33a1631fa
|
Revised the comments in the view of the accounting application.
|
2020-07-17 07:18:58 +08:00 |
|
imacat
|
7f7e2c7100
|
Revised the code in the views of the accounting application.
|
2020-07-17 00:19:41 +08:00 |
|
imacat
|
5855c1dd2b
|
Added 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 +08:00 |
|
imacat
|
44a778f4f5
|
Fixed the subject URL in the ledger summary in the accounting application.
|
2020-07-17 00:15:32 +08:00 |
|
imacat
|
3156bc97c0
|
Revised the cash account summary in the accounting application.
|
2020-07-17 00:13:52 +08:00 |
|
imacat
|
70c3f01368
|
Added the ledger summary in the accounting application.
|
2020-07-17 00:12:30 +08:00 |
|
imacat
|
d9ccefa27c
|
Revised the template of the cash summary in the accounting transaction.
|
2020-07-16 23:59:07 +08:00 |
|
imacat
|
c189c78f4c
|
Removed an excess blank line in the template of the cash summary in the accounting application.
|
2020-07-16 23:51:49 +08:00 |
|
imacat
|
229e01a3d9
|
Revised the template of the cash summary for long lines in the accounting application.
|
2020-07-16 23:50:32 +08:00 |
|
imacat
|
d47010e51a
|
Fixed the cash summary to indicate the current subject in the subject selection in the accounting application.
|
2020-07-16 23:48:34 +08:00 |
|
imacat
|
a9c7a8328e
|
Fixed the documentation of the templates of the cash account and ledger in the accounting application.
|
2020-07-16 23:45:43 +08:00 |
|
imacat
|
4fec46413f
|
Simplified the code in the cash_summary() and ledger() views in the accounting application.
|
2020-07-16 23:40:35 +08:00 |
|
imacat
|
ba119c4ed0
|
Applied f-string to compose the SQL statements in the views of the accounting application.
|
2020-07-16 23:35:10 +08:00 |
|
imacat
|
1f80f8a4d6
|
Revised the codes in the views of the accounting application to avoid long lines.
|
2020-07-16 23:25:10 +08:00 |
|
imacat
|
fb37da4ac0
|
Fixed a typo in the cash account in the accounting application.
|
2020-07-16 23:19:23 +08:00 |
|
imacat
|
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 |
|
imacat
|
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 |
|
imacat
|
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 |
|
imacat
|
42e444b8c8
|
Revised the code for PEP8.
|
2020-07-16 22:25:33 +08:00 |
|
imacat
|
5b9ac93ee5
|
Revised the import of django.utils.timezone.localdate.
|
2020-07-16 22:22:35 +08:00 |
|
imacat
|
27f762a1c0
|
Removed unused imports
|
2020-07-16 22:19:05 +08:00 |
|
imacat
|
847f8dc402
|
Added the ledger in the accounting application.
|
2020-07-16 22:12:59 +08:00 |
|
imacat
|
9c053148d4
|
Revised the subject selector in the template of the cash account in the accounting application.
|
2020-07-16 20:55:08 +08:00 |
|
imacat
|
861b1eeda2
|
Revised the template of the cash account for readibility in the accounting application
|
2020-07-16 20:47:40 +08:00 |
|
imacat
|
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 |
|
imacat
|
5c976226ff
|
Revised the documentation of the templates in the accounting application.
|
2020-07-16 07:47:41 +08:00 |
|
imacat
|
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 |
|
imacat
|
983c2a5533
|
Added the cash summary report in the accounting application.
|
2020-07-16 00:28:50 +08:00 |
|
imacat
|
77da7862c6
|
Removed an unnecessary if-condition in the template of the cash account.
|
2020-07-15 19:07:22 +08:00 |
|
imacat
|
14ed892534
|
Revised the cash account view in the accounting application.
|
2020-07-14 22:16:13 +08:00 |
|
imacat
|
c65d778a1b
|
Revised Period in the Mia core application.
|
2020-07-14 22:15:04 +08:00 |
|
imacat
|
94884e72b8
|
Added and applied the current() method to Language in the Mia core application.
|
2020-07-14 22:14:39 +08:00 |
|
imacat
|
ef4c8ea2ae
|
Renamed the get_default() method to default() in Language in the Mia core application.
|
2020-07-14 22:12:17 +08:00 |
|
imacat
|
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 |
|
imacat
|
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 |
|
imacat
|
a8d18ddd1e
|
Removed the debugging content from the cash account in the accounting application.
|
2020-07-14 21:28:28 +08:00 |
|
imacat
|
e00cf7656b
|
Added the subject selector for the cash account in the accounting application.
|
2020-07-14 21:27:30 +08:00 |
|
imacat
|
069cd9ca74
|
Revised the parameters of Period.
|
2020-07-14 07:43:47 +08:00 |
|
imacat
|
ea354ae101
|
Added ReportUrl to help building the report chooser in the accounting application.
|
2020-07-14 07:41:19 +08:00 |
|
imacat
|
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 |
|
imacat
|
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 |
|
imacat
|
2f53bcfd43
|
Moved accounting/views.py to accounting/views/_init__.py.
|
2020-07-11 10:12:23 +08:00 |
|
imacat
|
562989bde2
|
Renamed templatetags to template_tags, and templatefilters to template_filters.
|
2020-07-11 07:18:14 +08:00 |
|
imacat
|
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 |
|
imacat
|
241445bc7a
|
Removed is_safe=True from the smart_date template filter.
|
2020-07-10 18:54:55 +08:00 |
|
imacat
|
f8d25412cb
|
Removed an unused import from templatetags.
|
2020-07-10 00:30:19 +08:00 |
|
imacat
|
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 |
|
imacat
|
a7ec80f066
|
Added a dummy "TODO" view to the Mia core application.
|
2020-07-09 23:18:37 +08:00 |
|
imacat
|
04ca928a3a
|
Added the url_query template tag.
|
2020-07-09 08:28:16 +08:00 |
|
imacat
|
d96a606e3a
|
Removed the debug code in the cash account report.
|
2020-07-09 08:16:14 +08:00 |
|
imacat
|
faddceb074
|
Simplified the title in the cash account report.
|
2020-07-09 08:15:55 +08:00 |
|
imacat
|
6bdcdd0d78
|
Renamed the format template tag to str_format, and simplify it.
|
2020-07-09 01:29:51 +08:00 |
|
imacat
|
bcb5da1a5e
|
Revised the code to generate the page size options in Pagination, to be clear.
|
2020-07-09 01:03:03 +08:00 |
|
imacat
|
e5d0feadbc
|
Added the page size options to the pagination navigation bar.
|
2020-07-08 23:40:36 +08:00 |
|
imacat
|
8cefd0d4bf
|
Removed the unused get_month_range() method from the period parser.
|
2020-07-08 08:18:57 +08:00 |
|
imacat
|
56ae1bb29a
|
Renamed the parameter period_spec to spec in the period parser.
|
2020-07-08 08:13:47 +08:00 |
|
imacat
|
39d65e1381
|
Revised the text message in the period parser.
|
2020-07-08 07:45:18 +08:00 |
|
imacat
|
ad0eb6e73e
|
Renamed the template variable from period_parser to period.
|
2020-07-08 07:40:50 +08:00 |
|
imacat
|
76df32a76d
|
Revised the period parser.
|
2020-07-08 07:40:07 +08:00 |
|
imacat
|
6f604f1c86
|
Revised the documentation.
|
2020-07-08 07:24:36 +08:00 |
|
imacat
|
6da65f00ba
|
Moved the period parser from the accounting application to the Mia core application.
|
2020-07-08 07:20:38 +08:00 |
|
imacat
|
d047be7ba9
|
Added the format template tag that does sprintf-like string format in the templates.
|
2020-07-08 00:58:25 +08:00 |
|
imacat
|
db860619f1
|
Added the period parser to the base report view and the template variables
|
2020-07-08 00:29:41 +08:00 |
|
imacat
|
097e699ccf
|
Replaced now() with localdate() when finding the default period in the view of the cash reports.
|
2020-07-08 00:14:36 +08:00 |
|
imacat
|
e48460b9bb
|
Implemented the period parser.
|
2020-07-08 00:12:48 +08:00 |
|
imacat
|
974d654750
|
Fixed the documentation of Pagination.
|
2020-07-07 22:52:29 +08:00 |
|
imacat
|
92867c3e97
|
Changed the pagination template variable to pagination_links.
|
2020-07-07 22:50:57 +08:00 |
|
imacat
|
e9509c9bac
|
Changed the links attribute of Pagination to a pseudo attribute that is calculated on request.
|
2020-07-07 22:49:37 +08:00 |
|
imacat
|
19ac9d3200
|
Added the navigation links for pagination.
|
2020-07-07 22:18:40 +08:00 |
|
imacat
|
3bce775729
|
Added the trailing blank line in mia_core.utils.
|
2020-07-07 21:07:25 +08:00 |
|
imacat
|
1f748d09ce
|
Fixed the documentation in Pagination.
|
2020-07-07 21:07:05 +08:00 |
|
imacat
|
563a368ab0
|
Fixed UrlBuilder on its string output.
|
2020-07-07 21:06:11 +08:00 |
|
imacat
|
897f82bd26
|
Moved part of the pagination logic from the view to Pagination.
|
2020-07-07 21:04:07 +08:00 |
|
imacat
|
df0380362b
|
Renamed PageNoOutOfRangeError to PageNoOutOfRangeException.
|
2020-07-07 20:56:01 +08:00 |
|
imacat
|
5ff7f444e9
|
Added documentation to PageNuOutOfRangeError.
|
2020-07-07 20:55:29 +08:00 |
|
imacat
|
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 |
|
imacat
|
c0f664761e
|
Added documentation to the utilities and views of the Mia Core application.
|
2020-07-07 20:49:31 +08:00 |
|
imacat
|
a26247f752
|
Revised the has_order_hole attribute of the accounting transaction data model.
|
2020-07-07 19:33:34 +08:00 |
|
imacat
|
83f97a6467
|
Restored the missing _has_order_hole attribute to the accounting transaction model.
|
2020-07-07 19:32:19 +08:00 |
|
imacat
|
bf20fc8a72
|
Added the has_many_same_day property to the accounting transactions.
|
2020-07-07 07:12:26 +08:00 |
|
imacat
|
e6401e75ae
|
Implemented has_order_hole in Transaction, and added the caches and setters to the pseudo properties is_balanced and has_order_hole.
|
2020-07-07 07:10:24 +08:00 |
|
imacat
|
37e793f340
|
Revised the cash report template.
|
2020-07-06 23:58:47 +08:00 |
|
imacat
|
cd7d7a5106
|
Added the home page view.
|
2020-07-06 23:22:20 +08:00 |
|
imacat
|
66f1e4b4fa
|
Renamed the logout_view() function to logout().
|
2020-07-06 23:06:45 +08:00 |
|
imacat
|
68be53e212
|
Added to log out the current user.
|
2020-07-06 23:04:14 +08:00 |
|
imacat
|
de679cf91a
|
Removed an unsed logging.
|
2020-07-06 22:26:43 +08:00 |
|
imacat
|
405ae2307e
|
Added the digest_login_required decorator.
|
2020-07-06 22:26:29 +08:00 |
|
imacat
|
68cf985671
|
Changed the decorator from @require_http_methods to @require_GET in the accounting module
|
2020-07-06 21:36:31 +08:00 |
|
imacat
|
218ae35b8d
|
Added the Simplified Chinese translation to .gitignore, because it is generated.
|
2020-07-06 07:48:29 +08:00 |
|
imacat
|
62f960c081
|
Addded a simple authentication request to the cash report view.
|
2020-07-06 00:10:38 +08:00 |
|
imacat
|
714086e8e2
|
Applied the User model to the data models in the accounting application. Changed the primary keys of the accounting application to positive integers.
|
2020-07-06 00:09:26 +08:00 |
|
imacat
|
5acda6cd30
|
Added the HTTP digest authentication to mia_core.
|
2020-07-05 23:40:39 +08:00 |
|
imacat
|
8a539fb144
|
Added the User and Country models to mia_core.
|
2020-07-05 23:40:12 +08:00 |
|
imacat
|
aa89286cd9
|
Added the mia_core application.
|
2020-07-04 08:17:08 +08:00 |
|
imacat
|
dc14f2e27a
|
Renamed the human_date filter to smart_date.
|
2020-07-02 07:40:45 +08:00 |
|
imacat
|
a315907a5a
|
Added the excludes directory to .gitignore.
|
2020-07-02 02:13:26 +08:00 |
|
imacat
|
1f931062ef
|
Added the migrations directories to .gitignore.
|
2020-07-02 02:11:29 +08:00 |
|
imacat
|
bc0c1d9803
|
Fixed the layout of the cash report.
|
2020-07-02 02:10:44 +08:00 |
|