Merge pull request #13449 from rohitwaghchaure/pos_not_working_issue
[Fix] POS not opening
This commit is contained in:
commit
456fdf09cb
@ -9,7 +9,7 @@ frappe.pages['point-of-sale'].on_page_load = function(wrapper) {
|
||||
});
|
||||
|
||||
frappe.db.get_value('POS Settings', {name: 'POS Settings'}, 'is_online', (r) => {
|
||||
if (r && r.use_pos_in_offline_mode && !cint(r.use_pos_in_offline_mode)) {
|
||||
if (r && !cint(r.use_pos_in_offline_mode)) {
|
||||
// online
|
||||
wrapper.pos = new erpnext.pos.PointOfSale(wrapper);
|
||||
window.cur_pos = wrapper.pos;
|
||||
|
Loading…
Reference in New Issue
Block a user