Use-case 0014 - Cancel an Active Booking
Initiating actor: Pet Owner
Other actors: None
Description: An owner decides they no longer need a sitter and cancels an active (Pending or Confirmed) booking request before the job takes place.
Scenario:
- Pet Owner navigates to their "My Bookings" page.
- System fetches the owner's current active bookings:
SELECT booking_id, date_from, address, status FROM bookings WHERE owner_id = (SELECT user_id FROM users WHERE username = 'owner_bojan') AND status IN ('Pending', 'Confirmed'); - Owner clicks the "Cancel Booking" button.
- System updates the booking status:
UPDATE bookings SET status = 'Canceled' WHERE booking_id = 'specific-booking-uuid-here';
Last modified
4 weeks ago
Last modified on 05/17/26 20:01:01
Note:
See TracWiki
for help on using the wiki.
