View.blade.php will display a particular event in detail. As you can see, I just displayed all the events detail such as the title, date and time, name of the booker, and a duration of the event which is derived from the date and time.
Edit function will use edit.blade.php view file and in this file the form is quite similar with the create form but this form is use to update a particular event. Upon submission, the inputs will be submitted to update function in EventController.
Summary
I think that’s all for now. If you have queries on the tutorial and need more explanation, do not hesitate to put your feedback and comments below. I will try my best to answer your queries.
The room booking system may fulfill the purpose but you can always extends the app such as to add an admin dashboard for event management, add room management such as admin can add more rooms and etc.
If you wish to enhance the system and need my help, you may contact me and we can discuss further. 🙂
Update: Part 3
Update on 11/12/2017 – The demo site is for Room Booking Pro.