im making a booking system for a restaurant, the restaurant have 12 tables per day and each table have a name for example:
table 1
table 2
table 3 etc
So i need to send a notification into the dashboard when any user send a reservation no available, for example if the Jun 30 all tables are not available and the booking system get a new reservation to this date i need to show a notification: the table 1 have 2 reservations at jun 30
Thanks for the clarification, Yorgio, and apologies for the late reply. I’m quite busy at work, but I think I may have a solution for you. I will post it when I get home later in the day.
So, I put together a tutorial video that I THINK addresses this issue. You can find it here:
In a nutshell, I created three data types: a table type for tables in the restaurant, an available times type for times that a table can be reserved, and a table booking type to join tables and available times into a reservation.
I used nested repeating groups to then create a matrix mapping reserved tables and times together.
I hope this helps you solve your issue - if you have questions about the video, I’m happy to help.
Add some kind of indicator (I’m thinking a small dot, which you can make by playing with the roundness attribute of a squared shape to each row of your repeatingGroup.
Set a conditional on it with when > Do a Search For > (whatever your data Type is)
Set a constraint where Typedate = Current Cell’s Thing’s date
Set a constraint where TypePlan = "Current Cell’s Thing’s plan*
Back in the when of the conditional, click “more” and choose :count and then add “> 1”
In the Select a property to change when true dropdown choose This element is visible and then tick the checkbox to make it active.