feat(bookings): add payment and document upload to confirmation page
Allow users to select payment method and upload receipts before confirming. Add public API endpoints for payment updates and document management.
This commit is contained in:
@@ -3,7 +3,7 @@ import { getBookingByConfirmationToken } from '../../../utils/booking-repository
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const token = getRequiredRouteParam(event, 'token', 'Confirmation token')
|
||||
const booking = await getBookingByConfirmationToken(token)
|
||||
const booking = await getBookingByConfirmationToken(token, { includeTransactionDocument: true })
|
||||
|
||||
if (!booking) {
|
||||
httpError(404, 'Booking not found')
|
||||
|
||||
Reference in New Issue
Block a user