依瑪貓
|
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 |
|
|
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 |
|
|
e48460b9bb
|
Implemented the period parser.
|
2020-07-08 00:12:48 +08:00 |
|
|
974d654750
|
Fixed the documentation of Pagination.
|
2020-07-07 22:52:29 +08:00 |
|
|
92867c3e97
|
Changed the pagination template variable to pagination_links.
|
2020-07-07 22:50:57 +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 |
|
|
a26247f752
|
Revised the has_order_hole attribute of the accounting transaction data model.
|
2020-07-07 19:33:34 +08:00 |
|
|
83f97a6467
|
Restored the missing _has_order_hole attribute to the accounting transaction model.
|
2020-07-07 19:32:19 +08:00 |
|
|
bf20fc8a72
|
Added the has_many_same_day property to the accounting transactions.
|
2020-07-07 07:12:26 +08:00 |
|
|
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 |
|
|
37e793f340
|
Revised the cash report template.
|
2020-07-06 23:58:47 +08:00 |
|
|
cd7d7a5106
|
Added the home page view.
|
2020-07-06 23:22:20 +08:00 |
|
|
66f1e4b4fa
|
Renamed the logout_view() function to logout().
|
2020-07-06 23:06:45 +08:00 |
|
|
68be53e212
|
Added to log out the current user.
|
2020-07-06 23:04:14 +08:00 |
|
|
de679cf91a
|
Removed an unsed logging.
|
2020-07-06 22:26:43 +08:00 |
|
|
405ae2307e
|
Added the digest_login_required decorator.
|
2020-07-06 22:26:29 +08:00 |
|
|
68cf985671
|
Changed the decorator from @require_http_methods to @require_GET in the accounting module
|
2020-07-06 21:36:31 +08:00 |
|
|
218ae35b8d
|
Added the Simplified Chinese translation to .gitignore, because it is generated.
|
2020-07-06 07:48:29 +08:00 |
|
|
62f960c081
|
Addded a simple authentication request to the cash report view.
|
2020-07-06 00:10:38 +08:00 |
|
|
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 |
|
|
5acda6cd30
|
Added the HTTP digest authentication to mia_core.
|
2020-07-05 23:40:39 +08:00 |
|
|
8a539fb144
|
Added the User and Country models to mia_core.
|
2020-07-05 23:40:12 +08:00 |
|
|
aa89286cd9
|
Added the mia_core application.
|
2020-07-04 08:17:08 +08:00 |
|
依瑪貓
|
6295641366
|
Created mia.local_settings and moved the local settings from mia.settings to mia.local_settings. Removed settings.py from .gitignore, and added local_settings.py to .gitignore.
|
2020-07-02 10:08:33 +08:00 |
|
依瑪貓
|
9690256edc
|
Fixed the template of the accounting cash report.
|
2020-07-02 09:53:15 +08:00 |
|
依瑪貓
|
0243289946
|
Revised the code according to the PyCharm and PEP8 inspection.
|
2020-07-02 09:45:11 +08:00 |
|
|
dc14f2e27a
|
Renamed the human_date filter to smart_date.
|
2020-07-02 07:40:45 +08:00 |
|
|
a315907a5a
|
Added the excludes directory to .gitignore.
|
2020-07-02 02:13:26 +08:00 |
|
|
1f931062ef
|
Added the migrations directories to .gitignore.
|
2020-07-02 02:11:29 +08:00 |
|
|
bc0c1d9803
|
Fixed the layout of the cash report.
|
2020-07-02 02:10:44 +08:00 |
|
|
a3c0f3fb82
|
Added the template helper to display the date in a human-friendly format.
|
2020-07-02 02:04:35 +08:00 |
|