6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit bbf7352c

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-06-26 09:28:59 +0200
Started on fix

Changed files

.../components/booking_details_bottom_sheet.dart   | 23 ++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Diff

diff --git a/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart b/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
index d39054f2..38878b46 100644
--- a/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
+++ b/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
@@ -24,14 +24,6 @@ class BookingDetailsBottomSheet extends StatelessWidget {
return BottomSheetWidget(
widgetChildren: [
const SizedBox(height: 16),
- cubit.booking.reservationStatus == ReservationStatus.checkedin
- ? Padding(
- padding: const EdgeInsets.symmetric(horizontal: 16.0),
- child: HousekeepingButton(
- key: ValueKey(state.isHouseKeepingOrdered),
- booking: cubit.booking),
- )
- : const SizedBox(),
const SizedBox(height: 16),
cubit.booking.reservationStatus == ReservationStatus.checkedin
? const Padding(
@@ -44,7 +36,8 @@ class BookingDetailsBottomSheet extends StatelessWidget {
const SizedBox(height: 20),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
- child: Text("booking_details_page_practical_information".tr(), style: theme.textTheme.headlineMedium),
+ child: Text("booking_details_page_practical_information".tr(),
+ style: theme.textTheme.headlineMedium),
),
const SizedBox(height: 20),
Row(children: [
@@ -97,6 +90,15 @@ class BookingDetailsBottomSheet extends StatelessWidget {
child: Text('room_keys'.tr(), style: theme.textTheme.headlineMedium),
),
const SizedBox(height: 400),
+ Text("services".tr(), style: theme.textTheme.headlineMedium),
+ cubit.booking.reservationStatus == ReservationStatus.checkedin
+ ? Padding(
+ padding: const EdgeInsets.symmetric(horizontal: 16.0),
+ child: HousekeepingButton(
+ key: ValueKey(state.isHouseKeepingOrdered),
+ booking: cubit.booking),
+ )
+ : const SizedBox(),
],
);
}
@@ -148,7 +150,8 @@ class BookingDetailsBottomSheet extends StatelessWidget {
],
),
const SizedBox(height: 16),
- ServiceCatalog(upSales: cubit.upSales, height: 252, showRadioButton: false),
+ ServiceCatalog(
+ upSales: cubit.upSales, height: 252, showRadioButton: false),
],
);
}