UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

[BACKEND] Implement booking history collections #721

Closed bcho892 closed 3 months ago

bcho892 commented 3 months ago

Is your feature request related to a problem? Please describe.

I would like an admin view showing all bookings admin related history. All administrator actions that happen in the bookings + availability tab At the moment I cannot see what i've done, whos booking i’ve canceled and when ect.

You will need to create a history collection with the appropriate records - make sure the base interface is:

Based on the appropriate type extend the base type

Deletion

Availability

After defining these in server\src\data-layer\models\firebase.ts

You will need to create a collection in server\src\data-layer\adapters\FirestoreCollections.ts

BEFORE MERGING