fix: pos print receipt (#25330)
This commit is contained in:
parent
2535fe9b1e
commit
b54cc7c7f5
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user