mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
fix(portal): used rounded total in transaction rows, if enabled
This commit is contained in:
@@ -15,10 +15,14 @@
|
|||||||
{{ doc.items_preview }}
|
{{ doc.items_preview }}
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<div class="col-sm-3 text-right font-weight-bold item-total">
|
||||||
{{ doc.get_formatted("grand_total") }}
|
{{ doc.get_formatted("grand_total") }}
|
||||||
</div>
|
</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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
|
<a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user