Merge pull request #37324 from blaggacao/fix/portal-tx-row-total-display
fix(portal): used rounded total in transaction rows, if enabled
This commit is contained in:
commit
8f9dd5407b
@ -15,10 +15,14 @@
|
||||
{{ doc.items_preview }}
|
||||
</div>
|
||||
</div>
|
||||
{% if doc.get('grand_total') %}
|
||||
{% if doc.is_rounded_total_disabled() and doc.get('grand_total') %}
|
||||
<div class="col-sm-3 text-right font-weight-bold item-total">
|
||||
{{ doc.get_formatted("grand_total") }}
|
||||
</div>
|
||||
{% elif doc.get('rounded_total') %}
|
||||
<div class="col-sm-3 text-right font-weight-bold item-total">
|
||||
{{ doc.get_formatted("rounded_total") }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
|
||||
|
Loading…
Reference in New Issue
Block a user