eisbuk / EisBuk

Manage bookings for ice skating lessons
GNU Affero General Public License v3.0
0 stars 1 forks source link

Slot interval being removed crashes customer's bookings #816

Open ikusteu opened 1 year ago

ikusteu commented 1 year ago

Steps to reproduce:

I don't have a direct solution. We can either:

All of the aforementioned solutions open a respective can of worms...

ikusteu commented 1 year ago

Thinking about this, maybe we could simply not display the mismatched slots, have a cron job -> scheduled cloud function run once a day (at midnight...as is, of course the tradition) to check mismatches, clean them up and send emails, notifying the customers that the interval/booking has been cancelled.

Additional can of worms: What happens when the interval has been changed/deleted and customers no longer have booking permissions...should the dates be automatically extended?