master #3098
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
ALTER TABLE vn.sector ADD isOnReservationMode tinyint(1) DEFAULT FALSE NULL;
|
|
@ -59,6 +59,9 @@
|
||||||
"isReserve": {
|
"isReserve": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"required": true
|
"required": true
|
||||||
|
},
|
||||||
|
"isOnReservationMode": {
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -87,7 +87,7 @@ module.exports = Self => {
|
||||||
{
|
{
|
||||||
relation: 'sector',
|
relation: 'sector',
|
||||||
scope: {
|
scope: {
|
||||||
fields: ['warehouseFk', 'description'],
|
fields: ['warehouseFk', 'description', 'isOnReservationMode'],
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
relation: 'printer',
|
relation: 'printer',
|
||||||
|
|
Loading…
Reference in New Issue