Renamed the template cash_summary.html to cash-summary.html, and ledger_summary.html to ledger-summary.html in the accounting application.

This commit is contained in:
依瑪貓 2020-07-19 18:52:16 +08:00
parent 3cc7c5458b
commit 36c9aaa975
3 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ def cash_summary(request, subject_code):
))
pagination = Pagination(request, records, True)
shortcut_subjects = settings.ACCOUNTING["CASH_SHORTCUT_SUBJECTS"]
return render(request, "accounting/cash_summary.html", {
return render(request, "accounting/cash-summary.html", {
"records": pagination.records,
"pagination": pagination,
"current_subject": current_subject,
@ -415,7 +415,7 @@ def ledger_summary(request, subject_code):
cumulative_balance=cumulative_balance,
))
pagination = Pagination(request, records, True)
return render(request, "accounting/ledger_summary.html", {
return render(request, "accounting/ledger-summary.html", {
"records": pagination.records,
"pagination": pagination,
"current_subject": current_subject,