mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-10 06:42:49 +02:00
fix: item's amount is right aligned on mobile
This commit is contained in:
@@ -72,8 +72,7 @@
|
|||||||
:prefix="transaction.account.currency.prefix"
|
:prefix="transaction.account.currency.prefix"
|
||||||
:suffix="transaction.account.currency.suffix"
|
:suffix="transaction.account.currency.suffix"
|
||||||
:decimal_places="transaction.account.currency.decimal_places"
|
:decimal_places="transaction.account.currency.decimal_places"
|
||||||
color="{% if transaction.type == "EX" %}red{% else %}green{% endif %}"
|
color="{% if transaction.type == "EX" %}red{% else %}green{% endif %}"></c-amount.display>
|
||||||
text-end></c-amount.display>
|
|
||||||
{# Exchange Rate#}
|
{# Exchange Rate#}
|
||||||
{% with exchanged=transaction.exchanged_amount %}
|
{% with exchanged=transaction.exchanged_amount %}
|
||||||
{% if exchanged %}
|
{% if exchanged %}
|
||||||
@@ -82,8 +81,7 @@
|
|||||||
:prefix="exchanged.prefix"
|
:prefix="exchanged.prefix"
|
||||||
:suffix="exchanged.suffix"
|
:suffix="exchanged.suffix"
|
||||||
:decimal_places="exchanged.decimal_places"
|
:decimal_places="exchanged.decimal_places"
|
||||||
color="grey"
|
color="grey"></c-amount.display>
|
||||||
text-end></c-amount.display>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<div>{{ transaction.account.name }}</div>
|
<div>{{ transaction.account.name }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user