mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-29 05:31:59 +02:00
fix: entry now returns amount instead of total_amount
This commit is contained in:
@@ -27,7 +27,7 @@ def transaction_currency(transaction: Transaction):
|
||||
@register.simple_tag(name="entry_amount")
|
||||
def entry_currency(entry):
|
||||
prefix = entry["prefix"]
|
||||
amount = entry["total_amount"]
|
||||
amount = entry["amount"]
|
||||
decimal_places = entry["decimal_places"]
|
||||
suffix = entry["suffix"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user