From 7e6da701a859e0f2b411d03def751a66286c1454 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Tue, 9 Jan 2018 11:14:37 +0530 Subject: [PATCH] Show inclusive tax in print (#4769) --- frappe/templates/print_formats/standard_macros.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html index 968aa300cf..723d2ea840 100644 --- a/frappe/templates/print_formats/standard_macros.html +++ b/frappe/templates/print_formats/standard_macros.html @@ -10,6 +10,13 @@ {{ render_image(df, doc) }} {%- elif df.fieldtype=="Geolocation" -%} {{ render_geolocation(df, doc) }} + {%- elif df.fieldtype=="Currency" -%} + {%- if doc.print_templates and + doc.print_templates.get(df.fieldname) -%} + {% include doc.print_templates[df.fieldname] %} + {%- else -%} + {{ render_field_with_label(df, doc) }} + {%- endif -%} {%- else -%} {{ render_field_with_label(df, doc) }} {%- endif -%}