Skip to content

Commit

Permalink
fix: cannot set custom label for 'total' field in print format (#27667)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 27, 2021
1 parent e8de8b8 commit 2ee9da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/templates/print_formats/includes/total.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2ee9da3

Please sign in to comment.