fix: pos print receipt (#25330)

This commit is contained in:
Saqib
2021-04-14 15:09:11 +05:30
committed by GitHub
parent 2535fe9b1e
commit b54cc7c7f5

View File

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