diff --git a/erpnext/templates/includes/itemised_tax_breakup.html b/erpnext/templates/includes/itemised_tax_breakup.html index 342ce6b292a..2ffc8b4b830 100644 --- a/erpnext/templates/includes/itemised_tax_breakup.html +++ b/erpnext/templates/includes/itemised_tax_breakup.html @@ -2,14 +2,12 @@ - {% set i = 0 %} {% for key in headers %} - {% if i==0 %} + {% if loop.first %} {% else %} {% endif %} - {% set i = i + 1 %} {% endfor%}
{{ key }}{{ key }}