Commit Graph

129 Commits

Author SHA1 Message Date
6e08093464 Revised the form of the transactions to supply the account code instead of the account primary key in the accounting application. 2020-07-30 07:37:27 +08:00
9ab325a1c7 Added the dict template filter to obtain a value from a dictionary in the Mia core application, and applied it in the templates of the forms of the transactions in the acccounting application. 2020-07-28 22:11:54 +08:00
e31119a19d Fixed the action URL for existing transactions in the transfer transaction form in the accounting application. 2020-07-28 03:25:05 +08:00
78cac61cd5 Renamed the templates edit.html to form.html, and show.html to view.html in the accounting application. 2020-07-28 03:09:53 +08:00
b11348b276 Applied the form to existing transactions in the accounting application. 2020-07-28 03:07:37 +08:00
760c739864 Removed the transaction type from the template variables of the transactions, because they are not necessary at all in the accounting application. 2020-07-28 00:23:13 +08:00
99fb99b160 Added the view and the templates for the forms of the transactions in the accounting application. 2020-07-27 22:36:28 +08:00
75b5e53900 Fixed the transaction views so that it works without the return parameter in the accounting application. 2020-07-24 07:26:47 +08:00
20369e42cc Fixed so that the URL in the transaction views uses the current transaction type specified in the URL rather than the type of the transaction itself in the accounting application. 2020-07-23 23:35:43 +08:00
1dcbd37fbd Replaced the use of the sn field with pk, for compatibility in the future. 2020-07-23 23:15:33 +08:00
ff8c92a711 Added the action buttons to the transaction views in the accounting application. 2020-07-23 23:01:19 +08:00
6453cd4b8e Added the edit button to the transaction views in the accounting application. 2020-07-23 22:32:34 +08:00
cafa927c07 Added the back button to the transaction views in the accounting application. 2020-07-23 22:22:04 +08:00
2db3899dea Added the transaction views in the accounting application. 2020-07-23 22:02:26 +08:00
依瑪貓
a089e2c235 Renamed the template variable current_account to account in the accounting application, for simplicity. 2020-07-23 09:37:29 +08:00
8890e60fbb Added CashAccountConverter and LedgerAccountConverter and applied them in the URL patterns of the accounting application. 2020-07-23 08:33:53 +08:00
f9a9a99246 Added PeriodConverter to convert a period specification to a period, and applied it in the URL patterns. 2020-07-21 22:05:39 +08:00
依瑪貓
bbfe9e7892 Changed the URL of the accounts in the balance sheet so that the net income in the current period links to the income statement in the accounting application. 2020-07-21 13:38:18 +08:00
依瑪貓
3c294ffcb8 Updated the template variables in the balance sheet in the accounting application. 2020-07-21 11:58:50 +08:00
依瑪貓
076a68c028 Renamed "subject" to "account" in the accounting application. 2020-07-21 10:38:47 +08:00
依瑪貓
28e84702e7 Fixed the title of the journal in the accounting application. 2020-07-21 10:26:40 +08:00
依瑪貓
c6a62d92d5 Added the search page in the accounting application. 2020-07-21 10:04:29 +08:00
6c58b04617 Added a TODO note in the template of the balance sheet in the accounting application. 2020-07-21 00:33:31 +08:00
a18df0e928 Added the balance sheet in the accounting application. 2020-07-21 00:31:31 +08:00
bd826b7738 Removed the excess escape from the template of the income statement in the accounting application. 2020-07-20 23:43:40 +08:00
59820f65ca Revised the template of the income statement and removed the case when there is no data, because there is always data in the accounting application. 2020-07-20 23:40:12 +08:00
bbe4b39fde Renamed the classes used in the income statement in the accounting application. 2020-07-20 22:48:16 +08:00
4087cebf87 Revised the documentation in the templates of the accounting application. 2020-07-20 22:43:03 +08:00
d2ea9ff279 Revised the income statement for the small screens on mobile devices. 2020-07-20 22:36:14 +08:00
434b109a75 evised the income statement. 2020-07-20 22:23:19 +08:00
175e28f862 Added the income statement in the accounting application. 2020-07-20 20:58:07 +08:00
f90b764770 Fixed the current report name in the report chooser in the trial balance in the accounting application. 2020-07-19 21:40:10 +08:00
a62d5df9a3 Renamed records to item_list, and record to item in the report templates in the accounting application. 2020-07-19 20:27:00 +08:00
65afcd08d3 Added report.css to the cash account, cash summary, ledger, ledger summary and journal reports in the accounting application. 2020-07-19 19:52:00 +08:00
36c9aaa975 Renamed the template cash_summary.html to cash-summary.html, and ledger_summary.html to ledger-summary.html in the accounting application. 2020-07-19 18:52:16 +08:00
3cc7c5458b Added thje trial balance in the accounting application. 2020-07-19 18:50:56 +08:00
753e69d4e9 Renamed the credit_amount attribute to credit and debit_summary to debit in RecordSummary in the accounting application. 2020-07-18 07:52:16 +08:00
4c821a73ea Added the accounting journal in the accounting application. 2020-07-17 23:27:49 +08:00
44a778f4f5 Fixed the subject URL in the ledger summary in the accounting application. 2020-07-17 00:15:32 +08:00
70c3f01368 Added the ledger summary in the accounting application. 2020-07-17 00:12:30 +08:00
d9ccefa27c Revised the template of the cash summary in the accounting transaction. 2020-07-16 23:59:07 +08:00
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
229e01a3d9 Revised the template of the cash summary for long lines in the accounting application. 2020-07-16 23:50:32 +08:00
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
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
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
847f8dc402 Added the ledger in the accounting application. 2020-07-16 22:12:59 +08:00
9c053148d4 Revised the subject selector in the template of the cash account in the accounting application. 2020-07-16 20:55:08 +08:00
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
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
依瑪貓
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
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
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
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
依瑪貓
fc2e89ca1a Added the currently-specified subject to the template variables, and use it in the template. 2020-07-08 11:07:00 +08:00
ad0eb6e73e Renamed the template variable from period_parser to period. 2020-07-08 07:40:50 +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
19ac9d3200 Added the navigation links for pagination. 2020-07-07 22:18:40 +08:00
37e793f340 Revised the cash report template. 2020-07-06 23:58:47 +08:00
依瑪貓
9690256edc Fixed the template of the accounting cash report. 2020-07-02 09:53:15 +08:00
dc14f2e27a Renamed the human_date filter to smart_date. 2020-07-02 07:40:45 +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
789bdca699 Added simple localization. 2020-07-02 00:34:43 +08:00
8cab91dcd2 Added the side-wide base template, and apply it in the accounting cash report. 2020-07-01 23:38:36 +08:00
a48a885ed6 Added the get_absolute_url() method to the accounting transactions. 2020-07-01 00:43:46 +08:00
42fe685d53 Added a simple pagination filter and refined the cash report. 2020-06-30 23:49:21 +08:00
06b8d470fb Added simple views for the accounting cash report. 2020-06-30 20:59:24 +08:00