diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx index 42ae5fd3e..6a0ea2368 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx @@ -76,6 +76,7 @@ export default async function DetailsPage({ roomStayStartDate: booking.fromDate, roomStayEndDate: booking.toDate, roomTypeCode: room.roomTypeCode, + bookingCode: booking.bookingCode, } const packages = room.packages diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/TabletCodeInput/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/TabletCodeInput/index.tsx index 1be9f05d9..8b75d64ab 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/TabletCodeInput/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/TabletCodeInput/index.tsx @@ -18,6 +18,7 @@ export default function TabletCodeInput({ {...register("bookingCode.value", { onChange: (e) => updateValue(e.target.value), })} + defaultValue={defaultValue} autoComplete="off" /> ) diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css index 253d67c5f..91a44b1ca 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/booking-code.module.css @@ -31,6 +31,11 @@ width: 100%; } +.bookingCodeTooltip { + max-width: 560px; + margin-top: var(--Spacing-x2); +} + @media screen and (max-width: 767px) { .hideOnMobile { display: none; diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx index 8b6fb1d1a..5fde16d5e 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx @@ -115,7 +115,7 @@ export default function BookingCode() { }, })} > -