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.
This commit is contained in:
@ -855,6 +855,8 @@ def transaction_show(request, type, transaction):
|
||||
Returns:
|
||||
HttpResponse: The response.
|
||||
"""
|
||||
print(dir(request))
|
||||
return render(request, F"accounting/transactions/{type}/show.html", {
|
||||
"transaction_type": type,
|
||||
"item": transaction,
|
||||
})
|
||||
|
Reference in New Issue
Block a user