Closed gabekerchner closed 1 year ago
@gabekerchner thanks for your comment. if you create a PR it will be great!
okay i want to add this future
it should be like this :
is_taken = False
for x in existing_bookings:
if x == next_time and existing_bookings.count(x) >= booking_settings.max_booking_per_time:
is_taken = True
I found a solution for this item, could be implement in the future:
Add this line in definition:
max_booking_per_time = booking_settings.max_booking_per_time
Set While like this:
Enjoy 😄