mirror of
https://github.com/frappe/books.git
synced 2025-01-03 07:12:21 +00:00
feat: register schema for Modern POS ui
This commit is contained in:
parent
a2b80a3414
commit
7da4319217
@ -9,6 +9,7 @@ export class POSSettings extends Doc {
|
||||
inventory?: string;
|
||||
cashAccount?: string;
|
||||
writeOffAccount?: string;
|
||||
posUI?: 'Classic' | 'Modern';
|
||||
|
||||
static filters: FiltersMap = {
|
||||
cashAccount: () => ({
|
||||
|
@ -31,6 +31,24 @@
|
||||
"create": true,
|
||||
"default": "Write Off",
|
||||
"section": "Default"
|
||||
},
|
||||
{
|
||||
"fieldname": "posUI",
|
||||
"label": "Pos Ui",
|
||||
"fieldtype": "Select",
|
||||
"options": [
|
||||
{
|
||||
"value": "Classic",
|
||||
"label": "POS1"
|
||||
},
|
||||
{
|
||||
"value": "Modern",
|
||||
"label": "POS2"
|
||||
}
|
||||
],
|
||||
"default": "POS1",
|
||||
"required": true,
|
||||
"section": "Default"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user