Hello together,
We would like to implement the booking of seats in different rooms with the Scheduler Pro.
Currently our data.json looks like this:
{
"success" : true,
"resources" : {
"rows" : [
{
"id" : 1,
"name" : "Room A",
"seats" : [
{
"id" : 11,
"name" : "Seat 1",
"color" : "red"
},
{
"id" : 12,
"name" : "Seat 2",
"color" : "blue"
}
]
},
{
"id" : 2,
"name" : "Room B",
"seats" : [
{
"id" : 21,
"name" : "Seat 1",
"color" : "red"
},
{
"id" : 22,
"name" : "Seat 2",
"color" : "blue"
}
]
}
]
},
"events" : {
"rows" : []
}
}
However, this would also allow booking the entire room, which should not be possible for our case. Therefore we would like to know how we could implement this or if this would be possible at all.
Thank you in advance and kind regards!
FYI:
We have oriented ourselves to the following demo: https://bryntum.com/examples/examples-scheduler/tasks/