{ "name": "POSSettings", "label": "POS Settings", "isSingle": true, "isChild": false, "fields": [ { "fieldname": "isShiftOpen", "label": "Is POS Shift Open", "fieldtype": "Check", "default": false, "hidden": false }, { "fieldname": "inventory", "label": "Inventory", "fieldtype": "Link", "target": "Location", "create": true, "default": "Stores", "section": "Default" }, { "fieldname": "cashAccount", "label": "Counter Cash Account", "fieldtype": "Link", "target": "Account", "default": "Cash In Hand", "required": true, "create": true, "section": "Default" }, { "fieldname": "writeOffAccount", "label": "Write Off Account", "fieldtype": "Link", "target": "Account", "create": true, "default": "Write Off", "section": "Default" }, { "fieldname": "posUI", "label": "Pos Ui", "fieldtype": "Select", "options": [ { "value": "Classic", "label": "Classic" }, { "value": "Modern", "label": "Modern" } ], "default": "Classic", "required": true, "section": "Default" }, { "fieldname": "weightEnabledBarcode", "label": "Weigth Enabled Barcode", "fieldtype": "Check", "default": false, "section": "Barcode" }, { "fieldname": "checkDigit", "label": "Check Digit", "fieldtype": "Int", "default": 0, "section": "Barcode" }, { "fieldname": "itemCodeDigits", "label": "Item Code Digits", "fieldtype": "Int", "default": 0, "section": "Barcode" }, { "fieldname": "itemWeight", "label": "item Weight", "fieldtype": "Int", "default": 0, "section": "Barcode" } ] }