From dff1f07f0e7a55b4796365a544f2792612ab9b76 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Fri, 27 Sep 2024 16:28:46 -0300 Subject: [PATCH] fix: entry now returns amount instead of total_amount --- app/apps/transactions/templatetags/currency_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/transactions/templatetags/currency_display.py b/app/apps/transactions/templatetags/currency_display.py index 3d4d507..1654c88 100644 --- a/app/apps/transactions/templatetags/currency_display.py +++ b/app/apps/transactions/templatetags/currency_display.py @@ -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"]