MED-102: clean order page for tto orders

This commit is contained in:
Danel Kungla
2025-09-25 15:30:07 +03:00
parent 5dc625c903
commit 6c3ae1eda6
12 changed files with 82 additions and 48 deletions

View File

@@ -167,15 +167,15 @@ const TimeSlots = ({
return toast.error(t('booking:serviceNotFound'));
}
const bookTimePromise = updateReservationTime(
const bookTimePromise = updateReservationTime({
reservationId,
timeSlot.StartTime,
Number(syncedService.id),
newStartTime: timeSlot.StartTime,
newServiceId: Number(syncedService.id),
timeSlot.UserID,
timeSlot.SyncUserID,
booking.selectedLocationId ? booking.selectedLocationId : null,
cartId,
);
});
toast.promise(() => bookTimePromise, {
success: <Trans i18nKey={'booking:bookTimeSuccess'} />,