eisbuk / EisBuk

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

Create sanity checks for slot / bookings mismatches #881

Closed ikusteu closed 9 months ago

ikusteu commented 11 months ago

Similar to what we had done for slot / attendance mismatches, we should be able to perform sanity checks related to customer's bookings. The check should check for discrepancies between slot documents and bookedSlots documents in every customer's bookings collection. It should produce a result containing data:

The check should write the result to sanityChecks/<organization>/slotBookings/<timestamp>

Notes

ikusteu commented 9 months ago

Fixed in #891