fix: pos print receipt (#25328)

This commit is contained in:
Saqib
2021-04-14 15:05:33 +05:30
committed by GitHub
parent ac6facda3d
commit 8798f30808

View File

@@ -204,11 +204,11 @@ erpnext.PointOfSale.PastOrderSummary = class {
print_receipt() { print_receipt() {
const frm = this.events.get_frm(); const frm = this.events.get_frm();
frappe.utils.print( frappe.utils.print(
frm.doctype, this.doc.doctype,
frm.docname, this.doc.name,
frm.pos_print_format, frm.pos_print_format,
frm.doc.letter_head, this.doc.letter_head,
frm.doc.language || frappe.boot.lang this.doc.language || frappe.boot.lang
); );
} }