I'm new to SPServices jQuery and I would like to ask if anyone could point me to the right direction regarding problem I have.
I have one custom list. This list will store a number of free seats available for each days.
and I have another list. This list for user to request seat for each dates. Each date , admin will insert available seat to be book. For example, today, the seat available to be book is 100.
For example, user A request 50 seats , user B request 40 seats. So the total request will be 90. And if the request if being approved, only then the number of seats will be deducted from list 1.
So, 100 minus 90 = 10. if user 3 request 20 seat to be book, system will popup error saying that, it already exceed it limits.
I'm trying to get logic here and how it can be done using SPServices?