Site icon Tutor Bin

Multiple Trip Button Project

Multiple Trip Button Project

Description

I have a website that consists of these 2 Pages.

Add Booking page

Bookings List page

I have a button in the Add Booking page named “Add Trip” that saves the data and redirects the user to the booking list page called “trips” and display the data.

The task is to add another button called “Multiple Trip” next to the “Add Trip” button.

Functionality:

I want this button to redirect the user to the Add Booking page again “trips/addtrips” but with the same values entered in the last booking.

So pretty much I want the data that I enter to be submitted to the Bookings List page but refilled in the Add Booking page.

The idea behind it is to have a multiple booking page. Where all the data before are still saved so the user can change minor things like the vehicle or the trip time but in a very fast rate. This works when an order was being made by the same Customer.

To summarize:

When the user presses the Add Trip button, the data are saved and displayed in the booking page and the employee is redirected to the Booking List page (“trips”)

When the user presses the Multiple Trip button, the data are saved and displayed in the booking page and the employee is redirected to the Add Booking page (“trips/addtrips”) and he has the same data that the last booking had (same customer name, same vehicle, same trip start and end time, etc..) so he can edit this one and save it with some little changes.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Exit mobile version