Please find on the Student Intranet the two Forms to be used for the project. Also available on the Intranet is this document and an executable version of the project, which will help you check the results of your program against the results of the executable project.
This project is about an on-line car-rental reservation system. A customer has to select the type of car, the options and extras required. The customer has to provide also the out and in dates and the number of extra hours that s/he may want the car. A customer renting a car for at least 7 days is given one day free. Finally, customers who have clean driving license are allowed a 10% discount on the final bill.
The SHOW AMOUNT TO PAY command button will calculate the bill of the user based on the selections s/he makes. This is subject that data provided is of the correct format and is also valid. Any changes to the selected options will not result a change in the bill unless the above command button is clicked again. However, the program will recalculate everything before showing the booking details to the customer (the SHOW BOOKING DETAILS command button will calculate the bill before showing the Booking Details Form).
The program should do the following validation checks and appropriate feedback (not necessarily the same as the one given in the executable project) should be given when customers provide non-valid data:
- Both out and in dates should be provided. The in date should be a date after the out date. If data provided is not of date format or satisfy the above condition then users should be informed accordingly.
- If the EXTRA HOURS checkbox is ticked then a valid numeric integer value should be provided in the appropriate textbox that appear (minimum 0 maximum 6). If no such data is provided then an appropriate messages should be displayed for the user.
- If validation checks fail and the SHOW BOOKING DETAILS command button is clicked an appropriate message will be given and the Booking Details Form will not appear.
- 5 views