fix: cannot set custom label for 'total' field in print format (#27666)

This commit is contained in:
mergify[bot]
2021-09-27 14:29:54 +05:30
committed by GitHub
parent f36ed34907
commit c6725d43cb

View File

@@ -7,7 +7,7 @@
</div>
{% else %}
<div class="col-xs-5 {%- if doc.align_labels_right %} text-right{%- endif -%}">
<label>{{ _(doc.meta.get_label('total')) }}</label></div>
<label>{{ _(df.label) }}</label></div>
<div class="col-xs-7 text-right">
{{ doc.get_formatted("total", doc) }}
</div>