Hi! I need help step by step.
This will be done in several parts. First, we will change the functionality of the BookingDetail Screen, when editing an existing Booking, to allow checking-in, checking-out or cancel. Then, we will create a Homepage, where it will be visible the Check-ins and Check-outs of the day, with a Button to directly check-in or check-out. This will lead to some extra changes as well. We will change the Form on the BookingDetail to only allow edition while the Booking is not confirmed. Also, we will create a reusable Action to change the status of a Booking. BookingDetail Screen
1) Change the BookingDetail Screen to make it look just like the following mockup
Don’t forget to check the visibility of the Buttons and when the Form is editable or not
2) Create a generic Server Action to change the status of a Booking. This Action should be generic and should be able to change the Booking to any possible status.
3) Implement the logic of the three new buttons, to change the status of the Booking accordingly, reusing the Action created in the previous step.
Thanks
Hi @Beatriz MartÃnez Perales,
According to the below condition apply the visibility of Buttons also same as we did for input field.
You can also create a generic Server Action to change the status of a Booking. That we did in above screenshot.
Hope this will helps you!!!
Regards,
Rajat
Hello Beatriz,
I am confused with your post, not sure what is the question here. Please share what you have implemented to satisfy the described requirements and then ask specific questions on areas where you are stuck.
Junaid
Hi @Beatriz MartÃnez Perales
Could you please state any question related to a problem or doubt you may have, in order for the community to be able to help you?
AC
Hi! I´m some questions by this part.
Get Available Room and Book Room. The first Button will trigger an Action that will get the cheaper available room, for the dates and number of adults and children selected in the Form. The second Button will also trigger an Action, to confirm the Booking and adding it to the database.
I don't know make this.
Thanks!
Can you share your oml?
Of course!! Thanks
I'm not able to open your oml.
What version of Service Studio are you using?
Estoy utilizando ODC Studio no Service Studio.