Hi everyone,
I use the template" Desk Booking & Reservation" for my company user, but some one want to book the day go to office like Monday, Wednesday, Friday or Tuesday and Thursday, there current template just can book one day or continues days, so how can we adjust in calendar to allow to book separate days like Monday, Wednesday, Friday or Tuesday and Thursday by one time booking?
current code in calendar:
Set(
selectedDate,
Calendar_1.StartDate
);
Set(
selectedEndDate,
Calendar_1.EndDate
);
Set(
startTime,
DateTimeValue(
Text(
selectedDate,
DateTimeFormat.ShortDate
) & " " & ddTimeFrom.Selected.Value
)
);
Set(
endTime,
If(
DateValue(
Text(
selectedEndDate,
DateTimeFormat.ShortDate
)
) < DateValue(
Text(
selectedDate,
DateTimeFormat.ShortDate
)
),
DateTimeValue(
Text(
selectedDate,
DateTimeFormat.ShortDate
) & " " & ddTimeTo.Selected.Value
),
DateTimeValue(
Text(
selectedEndDate,
DateTimeFormat.ShortDate
) & " " & ddTimeTo.Selected.Value
)
)
);
If(
IsEmpty(startTime) && IsEmpty(endTime),
Notify(
"You must select a date and time to continue",
NotificationType.Warning
),
Navigate(DeskSelect)
)
Thanks for your help.

Report
All responses (
Answers (