Renamed the variable txn to form in the transaction forms in the accounting application.

This commit is contained in:
2020-08-09 12:21:01 +08:00
parent 1a6f36af0b
commit 19c1e8b586
4 changed files with 34 additions and 34 deletions

View File

@ -852,7 +852,7 @@ def txn_form(request, txn_type, txn=None):
"accounting/include/form-record-non-transfer.html",
new_record_context))
return render(request, F"accounting/transaction_form-{txn_type}.html", {
"txn": form,
"form": form,
"summary_categories": get_summary_categories,
"should_validate": should_validate,
"new_record_template": new_record_template,