Commit Graph

56 Commits

Author SHA1 Message Date
0d38cdd403 Replaced the function-based txn_form and txn_store view with the class-based TransactionFormView in the accounting application. 2020-08-16 13:27:31 +08:00
0398fb609e Combined the create and store URL, and the edit and update URL of the accounts to simplify the URL pattern settings, because they are handled by the same view now in the accounting application. 2020-08-14 00:51:09 +08:00
dc27293381 Reorder the URL patterns in the accounting application. 2020-08-14 00:37:11 +08:00
f82c4afbfe Replaced the function-based account_form and account_store views with the class-based AccountFormView in the accounting application. 2020-08-14 00:36:29 +08:00
e86c150707 Removed an unused import from the URL patterns in the accounting application. 2020-08-09 17:44:24 +08:00
fdbc27ba57 Added the account deletion in the accounting application. 2020-08-09 17:25:51 +08:00
00ee0cc3bb dded the account_store() view in the accounting application. 2020-08-09 16:22:51 +08:00
375f0db9e0 Revised the names of the API views in the accounting application. 2020-08-09 14:20:59 +08:00
836151d9d5 Replaced the function-based txn_delete() view with the class-based TransactionDeleteView view in the accounting application. 2020-08-09 13:19:20 +08:00
1a6f36af0b Renamed the view txn_edit() to txn_form() in the accounting application. 2020-08-09 12:19:11 +08:00
724ba44a71 Added the account form in the accounting application. 2020-08-09 11:52:12 +08:00
340ba6f855 Renamed the view accounts.show to accounts.detail in the accounting application. 2020-08-08 17:05:24 +08:00
f29e939de3 Replaced the function-based txn_detail() view with the class-based TransactionView view in the accounting application. 2020-08-08 16:08:15 +08:00
908fbedf0d Renamed the URL transactions.show to transactions.detail, teh templates show.html to detail.html, and the view txn_show() to txn_detail, to follow the naming convention of Django in the accounting application. 2020-08-08 15:43:21 +08:00
ece7dbe62f Removed a TODO from the url patterns in the accounting application. 2020-08-08 15:19:21 +08:00
734cd2320b Added the view of the account details in the accounting applications. 2020-08-08 15:18:39 +08:00
依瑪貓
1a2bada988 Added AccountConverter and apply it to the URL patterns in the accounting application. 2020-08-07 10:10:33 +08:00
f970974e71 Added the transaction sorting in the accounting application. 2020-08-06 23:51:20 +08:00
97825dfe8d Added the account deletion. 2020-08-05 08:23:20 +08:00
依瑪貓
12d4af06a0 Added TODO to the views to-do in the accounting application. 2020-08-04 09:18:28 +08:00
cbac2ba61e Added the account_options() view to return the account options in the accounting application. 2020-08-03 00:02:51 +08:00
f7c62fcc66 Renamed the views transaction_show() to txn_show(), transaction_edit() to txn_edit(), and transaction_store() to txn_store() in the accounting application. 2020-08-02 03:08:26 +08:00
7be26e7447 Renamed the parameter transaction to txn in the transaction_show(), transaction_edit() and transaction_store() views, to avoid name conflict in the accounting application. 2020-08-02 03:00:23 +08:00
da80816b37 Revised the coding style according to PEP8. 2020-08-02 00:08:53 +08:00
a30c937a4b Renamed the digest_login_required() decorator to login_required(), for consistency. 2020-07-30 00:12:13 +08:00
a8058209bd Replaced the views of the default accounting reports with class-based redirect views in the accounting application. 2020-07-30 00:10:11 +08:00
依瑪貓
d6428a002e Renamed the parameter type to txn_type in the transaction views in the accounting application. 2020-07-29 15:06:23 +08:00
e90defd25d Added the stored status and a dummy transaction_store() view to the accounting application. 2020-07-28 08:22:42 +08:00
9aa85b6ae8 Renamed the transaction_create() view to transaction_edit() in the accounting application. 2020-07-28 03:10:45 +08:00
b11348b276 Applied the form to existing transactions in the accounting application. 2020-07-28 03:07:37 +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
ff8c92a711 Added the action buttons to the transaction views in the accounting application. 2020-07-23 23:01:19 +08:00
2db3899dea Added the transaction views in the accounting application. 2020-07-23 22:02:26 +08:00
依瑪貓
6691e3db2b Moved the views back to accounting.views in the accounting application. 2020-07-23 14:17:05 +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
6ae25ddca7 Moved the path converters from accounting.urls to accounting.converters in the accounting application. 2020-07-23 01:22:11 +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
依瑪貓
076a68c028 Renamed "subject" to "account" in the accounting application. 2020-07-21 10:38:47 +08:00
依瑪貓
c6a62d92d5 Added the search page in the accounting application. 2020-07-21 10:04:29 +08:00
951a29feeb Moved the views of the accounting reports from accounting.views to accounting.views.reports in the accounting application. 2020-07-21 08:20:57 +08:00
083163347f Revised the documentation of the views and renamed the *_home() view functions to *_default() in the accounting application. 2020-07-21 07:54:23 +08:00
7657d5f823 Added the default page of the cash summary, ledger, ledger summary, journal, trial balance, income statement, balance sheet in the accounting application. 2020-07-21 07:40:38 +08:00
a18df0e928 Added the balance sheet in the accounting application. 2020-07-21 00:31:31 +08:00
175e28f862 Added the income statement in the accounting application. 2020-07-20 20:58:07 +08:00
3cc7c5458b Added thje trial balance in the accounting application. 2020-07-19 18:50:56 +08:00
4c821a73ea Added the accounting journal in the accounting application. 2020-07-17 23:27:49 +08:00
70c3f01368 Added the ledger summary in the accounting application. 2020-07-17 00:12:30 +08:00
847f8dc402 Added the ledger in the accounting application. 2020-07-16 22:12:59 +08:00
983c2a5533 Added the cash summary report in the accounting application. 2020-07-16 00:28:50 +08:00
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