diff --git a/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html b/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html index b52da80b3bd..0d04bd9be34 100644 --- a/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html +++ b/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html @@ -251,64 +251,58 @@ print_heading_template=None) -%} -
| + | ||||||||||||||||||
| {{ _("Sub Total:") }} | +{{ doc.get_formatted("total", doc) }} | +
-
|
-
+ {%- endif -%}
+ {%- endfor -%}
+ {%- if doc.apply_discount_on == "Grand Total" -%}
+ |
| + {{ _("Discount") }} ({{ doc.additional_discount_percentage }}%): + | +{{ doc.get_formatted("discount_amount", doc) }} | +
|
+
+ {{ _("In Words: ") }}{{ doc.in_words }}
+
+ |
+ {{ _("Grand Total:") }} | ++ + {{ doc.get_formatted("grand_total", doc) }} + + | +
|
-
- {{ _("In Words: ") }}{{ doc.in_words }}
-
- |
- {{ _("Grand Total:") }} | -- - {{ doc.get_formatted("grand_total", doc) }} - - | -