Merge pull request #6391 from rohitwaghchaure/pos_print_format_new_changes

[Fix] Added base_url, print_css in pos
This commit is contained in:
Nabin Hait 2016-09-19 12:31:15 +05:30 committed by GitHub
commit 79a3e632ed

View File

@ -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(){