feat: convert returns None if Currency convertion has same currency for both or if amount if 0

This commit is contained in:
Herculino Trotta
2024-11-16 23:59:46 -03:00
parent 2b8e8408e3
commit 2623fb3da5
3 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
</div>
</div>
</div>
{% if currency.exchanged %}
{% if currency.exchanged and currency.exchanged.amount %}
<div>
<c-amount.display
:amount="currency.exchanged.amount"