From 89d60ca35ee70dc8867cd1d216ec9a2e75e2f97e Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Tue, 20 Jun 2017 14:11:50 +0530 Subject: [PATCH] Check for align_labels_left before adding text-right class --- erpnext/templates/print_formats/includes/taxes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/templates/print_formats/includes/taxes.html b/erpnext/templates/print_formats/includes/taxes.html index 55e0443e1a..b0bd1d4b5b 100644 --- a/erpnext/templates/print_formats/includes/taxes.html +++ b/erpnext/templates/print_formats/includes/taxes.html @@ -1,7 +1,7 @@ {%- macro render_discount_amount(doc) -%} {%- if doc.discount_amount -%}
-
+
- {{ doc.get_formatted("discount_amount", doc) }} @@ -19,7 +19,7 @@ {%- for charge in data -%} {%- if not charge.included_in_print_rate -%}
-
+
{{ frappe.format_value(frappe.utils.flt(charge.tax_amount),