Revised the code in the txn_form view in the accounting application.
This commit is contained in:
parent
c8c276feb7
commit
0ac40fc723
@ -829,8 +829,7 @@ def txn_form(request, txn_type, txn=None):
|
||||
form = TransactionForm()
|
||||
form.transaction = txn
|
||||
form.txn_type = txn_type
|
||||
new_record_context = {"record_type": "TTT",
|
||||
"no": "NNN"}
|
||||
new_record_context = {"record_type": "TTT", "no": "NNN"}
|
||||
if txn_type == "transfer":
|
||||
new_record_template = json.dumps(render_to_string(
|
||||
"accounting/include/record_form-transfer.html",
|
||||
|
Loading…
Reference in New Issue
Block a user