Doctor should be able to see 10 patients a day (Allow 10 bookings for a doctor).

0
Doctor should be able to see 10 patients a day (Allow 10 bookings for a doctor)? Example:- Doctor Only need to see 10 patient per day if any patient trying to book means at time it need to show like can’t able to book appointment for today like a message
asked
1 answers
0

Hello,

You can maintain a counter attribute to track the number of bookings based on current date. On each booking you need to count the booking and store the date accordingly. During the booking creation process, you can do a check if the booking count is 10, then don’t allow for bookings.

answered