diff --git a/src/components/scheduling/boat/BoatScheduleTableComponent.vue b/src/components/scheduling/boat/BoatScheduleTableComponent.vue index 87d71bc..6c303d4 100644 --- a/src/components/scheduling/boat/BoatScheduleTableComponent.vue +++ b/src/components/scheduling/boat/BoatScheduleTableComponent.vue @@ -71,7 +71,7 @@ "> {{ getUserName(reservation.user) || 'loading...' }} - {{ reservation.reason }} + {{ reservation.reason }} diff --git a/src/pages/schedule/ListBookingsPage.vue b/src/pages/schedule/ListBookingsPage.vue index 9a09c40..16bf7f7 100644 --- a/src/pages/schedule/ListBookingsPage.vue +++ b/src/pages/schedule/ListBookingsPage.vue @@ -1,7 +1,28 @@ + + + You don't have any bookings! + Why don't you go make one? + + + + + + v-else + v-for="(reservation, index) in sortedBookings" + :key="reservation.$id"> @@ -9,20 +30,23 @@ - {{ boatStore.getBoatById(booking.resource)?.name }} + {{ boatStore.getBoatById(reservation.resource)?.name }} - Start: {{ formatDate(booking.start) }} - End: {{ formatDate(booking.end) }} + + Start: {{ formatDate(reservation.start) }} + + End: {{ formatDate(reservation.end) }} + - + - Some more information here... + - - Action 1 - Action 2 + + + Modify + + + Cancel + + + + + + + This will delete your reservation for + {{ boatStore.getBoatById(currentReservation?.resource) }} on + {{ formatDate(currentReservation?.start) }} + + + + + + + + +
Start: {{ formatDate(booking.start) }}
End: {{ formatDate(booking.end) }}
+ Start: {{ formatDate(reservation.start) }} + + End: {{ formatDate(reservation.end) }} +