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