mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-25 10:08:36 +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")
|
@register.simple_tag(name="entry_amount")
|
||||||
def entry_currency(entry):
|
def entry_currency(entry):
|
||||||
prefix = entry["prefix"]
|
prefix = entry["prefix"]
|
||||||
amount = entry["total_amount"]
|
amount = entry["amount"]
|
||||||
decimal_places = entry["decimal_places"]
|
decimal_places = entry["decimal_places"]
|
||||||
suffix = entry["suffix"]
|
suffix = entry["suffix"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user