mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
rename Is Online field to Use POS in Offline Mode in pos settings
This commit is contained in:
committed by
mbauskar
parent
d0823adf42
commit
1a77922e85
@@ -9,7 +9,7 @@ frappe.pages['pos'].on_page_load = function (wrapper) {
|
||||
});
|
||||
|
||||
frappe.db.get_value('POS Settings', {name: 'POS Settings'}, 'is_online', (r) => {
|
||||
if (r && r.is_online && !cint(r.is_online)) {
|
||||
if (r && r.use_pos_in_offline_mode && cint(r.use_pos_in_offline_mode)) {
|
||||
// offline
|
||||
wrapper.pos = new erpnext.pos.PointOfSale(wrapper);
|
||||
cur_pos = wrapper.pos;
|
||||
|
||||
Reference in New Issue
Block a user