Commit Graph

717 Commits

Author SHA1 Message Date
f57162a93c Fixed the save method of the LocalizedModel data model to find the l10n records only for existing models, to work with Django 4.1. 2022-12-04 23:01:02 +08:00
4afd072cc5 Fixed the records pseudo property of the Transaction data model to find the records only for existing transactions, to work with Django 4.1. 2022-08-13 20:48:26 +08:00
86b84bef7a Fixed the save() method of the Transaction data model to find the records to delete only for existing transactions, to work with Django 4.1. 2022-08-11 11:48:01 +08:00
a0382ad179 Fixed the JavaScript form validation logic from isValid && validateXxx() to validateXxx() && isValid, in order to correctly validate multiple fields at once. 2021-08-27 07:37:34 +08:00
62b59e7380 Renamed JavaScript variables isValidated to isValid in the forms. 2021-08-27 07:35:03 +08:00
dec53c09f3 Replaced JavaScript XMLHttpRequest.onreadystatechange with XMLHttpRequest.onload. 2021-08-27 07:27:42 +08:00
91d22d72cb Moved the cancel button to the start and the confirm button to the end in the bootstrap modals. 2021-08-27 07:18:35 +08:00
bbcedfd366 Added fade effect to the bootstrap modals. 2021-08-27 07:07:14 +08:00
bc863869c0 Merge branch 'main' of github.com:imacat/mia-accounting into main 2021-08-24 07:37:19 +08:00
874cbca320 Added the output_field when calculating the sum and coalesce in the views. 2021-08-24 07:34:56 +08:00
df6c961dc3 Added the output_field when calculating the balance in the cash report. 2021-08-24 07:10:47 +08:00
依瑪貓
fc6f1fd18a Revised README to be more readable. 2021-02-03 14:21:48 +08:00
依瑪貓
9af204322a Added the management commands to README. 2021-02-03 11:20:33 +08:00
依瑪貓
112201ee8b Revised README. 2021-02-03 11:20:13 +08:00
依瑪貓
1cc9b1732b Replaced the Markdown README with its reStructuredText version. 2021-02-03 10:57:24 +08:00
依瑪貓
ea8af57fcb Removed the mirror script from .gitignore. It is handled with the deployment function of the IDE now. 2021-02-03 10:56:25 +08:00
依瑪貓
b4d9a250db Revised the documentation of the make_trans management command. 2021-02-03 10:05:07 +08:00
500467432a Fixed the cash report to display income first then expense in a transaction, to prevent negative cash balance. 2021-01-31 00:51:09 +08:00
fd47f7bd94 Revised the smart_date filter in the Mia core application. 2021-01-17 00:37:34 +08:00
bb93f601ad Replaced urllib.parse.unquote() with urllib.parse.unquote_plus() in UrlBuilder. 2021-01-16 20:24:10 +08:00
21281da3ed Fixed the line length in the data models for PEP8. 2020-11-05 22:49:54 +08:00
a554974ea0 Simplified the stored post forms in a way that only store one form for use at once, like PHP Laravel, and merge it to the Mia core utilities in the Mia core application. 2020-10-20 22:51:00 +08:00
54d18ca8b3 Added the short_value template filter that strips the excess trailing decimal zeros in the accounting form in the accounting application. 2020-10-20 22:01:56 +08:00
2db018f18b Revised documentation and type hints of the template filters to format the numbers. 2020-10-20 21:54:10 +08:00
eb162c95df Added the record order to the returning records of the _get_records() method in SearchListView in the accounting application. 2020-09-10 21:06:12 +08:00
依瑪貓
7358b3ed9d Added the database initialization to README. 2020-09-09 09:17:11 +08:00
15ad595ad1 Updated the version in setup.py. 2020-09-09 07:02:50 +08:00
47b41a86e3 Added the GitHub project information to README. 2020-09-08 21:08:16 +08:00
943fd44c44 Updated README to install with pip. 2020-09-07 23:32:24 +08:00
b6ac650bfd Added dist and *.egg-info to .gitignore. 2020-09-07 23:29:42 +08:00
5f6f142a7a Added setup.py. 2020-09-07 23:28:04 +08:00
0620759ca3 Added the advanced settings to README. 2020-09-07 22:53:33 +08:00
0b4977041e Added the project description, and moved the license to the end of README. 2020-09-07 21:53:02 +08:00
依瑪貓
267ac952fe Fixed the typo in README. 2020-09-07 10:12:23 +08:00
依瑪貓
a7571b8af0 Added the instruction to the base template in README. 2020-09-07 09:32:44 +08:00
774fb28981 Revised the README. 2020-09-07 07:18:12 +08:00
a7d6943417 Added the live demonstration to README. 2020-09-07 00:47:43 +08:00
ae420b98bb Added the README and LICENSE files. 2020-09-07 00:22:51 +08:00
6c857c09d2 Cleaned-up the .gitignore content. 2020-09-06 22:56:48 +08:00
5acbb6137a Removed an unused import from the accounting_accounts management command in the Mia core application. 2020-09-06 22:08:33 +08:00
8eedcafcd6 Removed an unused import from the accounting_accounts management command in the accounting application. 2020-09-06 21:58:25 +08:00
afb87a53a6 Revised SearchListView to search for multiple terms and quoted terms in the accounting application. 2020-09-04 23:15:53 +08:00
8c390df4cd Replaced the function-based search view with the class-based SearchListView in the accounting application. 2020-09-04 22:12:17 +08:00
b6a5bc3166 Revised the regular expression to query by the random primary key in the accounting application. 2020-09-04 19:44:48 +08:00
7f8375bfe7 Added to search by the month in the search query in the accounting application. 2020-09-04 19:44:08 +08:00
c1446df532 Revised the order in the search query in the accounting application. 2020-09-04 19:43:06 +08:00
b92b7fb489 Replaced the regular expression match with strptime() to search by the year in the accounting application. 2020-09-04 19:42:34 +08:00
70d725d2af Added the account primary key to the search query in the accounting application. 2020-09-04 19:36:32 +08:00
00180d28b9 Added to search the year, date, and the month/day in the search query, and revised the query on the primary key in the accounting application. 2020-09-03 23:30:52 +08:00
0adec7557b Added the parse_date() utility to the Mia core application. 2020-09-03 23:27:44 +08:00