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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
);
}