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

This commit is contained in:
mergify[bot]
2021-09-27 15:03:16 +05:30
committed by GitHub
parent e8de8b8454
commit 2ee9da3504

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>