mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
feat: add itemVisibility option to POSSettings schema
This commit is contained in:
@@ -15,6 +15,7 @@ export class POSSettings extends Doc {
|
||||
itemCodeDigits?: number;
|
||||
itemWeightDigits?: number;
|
||||
defaultAccount?: string;
|
||||
itemVisibility?: string;
|
||||
posUI?: 'Classic' | 'Modern';
|
||||
|
||||
static filters: FiltersMap = {
|
||||
|
||||
@@ -93,6 +93,24 @@
|
||||
"fieldtype": "Int",
|
||||
"default": 0,
|
||||
"section": "Barcode"
|
||||
},
|
||||
{
|
||||
"fieldname": "itemVisibility",
|
||||
"label": "Item Visibility",
|
||||
"fieldtype": "Select",
|
||||
"options": [
|
||||
{
|
||||
"value": "Inventory Items",
|
||||
"label": "Inventory Items"
|
||||
},
|
||||
{
|
||||
"value": "Non-Inventory Items",
|
||||
"label": "Non-Inventory Items"
|
||||
}
|
||||
],
|
||||
"default": "Inventory Items",
|
||||
"required": true,
|
||||
"section": "Default"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user