From 3c4cdd2a94efb8ed1ecfd38cda939309b403b9ef Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Mon, 19 Sep 2016 00:17:32 +0530 Subject: [PATCH] [Fix] Added base_url, print_css in pos --- erpnext/accounts/page/pos/pos.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js index 07e55d9a5c..8da1332ff1 100644 --- a/erpnext/accounts/page/pos/pos.js +++ b/erpnext/accounts/page/pos/pos.js @@ -255,7 +255,8 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({ }) this.print_template = frappe.render_template("print_template", - {content: window.print_template, title:"POS"}) + {content: window.print_template, title:"POS", + base_url: frappe.urllib.get_base_url(), print_css: frappe.boot.print_css}) }, setup: function(){