fix: entry now returns amount instead of total_amount

This commit is contained in:
Herculino Trotta
2024-09-27 16:28:46 -03:00
parent 47809d83d4
commit dff1f07f0e

View File

@@ -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"]