[Fix] Delete button not working in POS for Ipad
This commit is contained in:
parent
81cdd967d7
commit
152a0c86b0
@ -1573,15 +1573,16 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
|||||||
style="margin-right: 5px;">${__('Print')}</a>
|
style="margin-right: 5px;">${__('Print')}</a>
|
||||||
<a class="btn btn-default new_doc">${__('New')}</a>`);
|
<a class="btn btn-default new_doc">${__('New')}</a>`);
|
||||||
|
|
||||||
$('.print_doc').click(function () {
|
this.msgprint.msg_area.find('.print_doc').on('click', function() {
|
||||||
var html = frappe.render(me.print_template_data, me.frm.doc)
|
var html = frappe.render(me.print_template_data, me.frm.doc);
|
||||||
me.print_document(html)
|
me.print_document(html);
|
||||||
})
|
})
|
||||||
|
|
||||||
$('.new_doc').click(function () {
|
this.msgprint.msg_area.find('.new_doc').on('click', function() {
|
||||||
me.msgprint.hide()
|
me.msgprint.hide();
|
||||||
me.make_new_cart()
|
me.make_new_cart();
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
print_document: function (html) {
|
print_document: function (html) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user