Skip to content

Latest commit

 

History

History
152 lines (105 loc) · 6.49 KB

README.md

File metadata and controls

152 lines (105 loc) · 6.49 KB

Overview

Our car rental system is a multi-featured website done using PHP, CSS, and Javascript. This system could support a car rental agency with a reliable, simple, and most importantly easy to use website. The system is divided mainly into two different modes, one for the normal customer, and another customized for a single admin. It starts with a simple login page for registered users and admins, or a sign up page for new users.

Customer's Actions

A customer can do the following actions:

  • See all cars available in his country (to see cars in other country the customer must change his country).
  • Reserve a car for a specific period and wait the admin to approve the reservation.
  • Pay for the reservation if the admin has approved it.
  • Search for any car by any of it's attributes.

Admin's Actions

The admin can do the following actions:

  • Add/modify or delete any car or change it's status for a specific period.
  • Approve or deny any reservation.
  • Add offices possessing the cars.
  • Search for any customer by any of his attributes.
  • Search for any car by any of it's attributes.

The systmer informes the admin the following:

  • Monitor all reservations for a speciifc period (pickup date -> return date).
  • Monitor all reservations done by a specific customer.
  • Monitor all reservations of a specific car for a specific period (pickup date -> return date).
  • Get a report of daily payments for a specific period.
  • Check all statuses of all cars on a specific day.
  • See all reservations done on a specific day (Entry date).

ER-Model

Common Web Pages

1- Login Page

The customer must enter a registered email and its correct password. Else, an alert is shown.

2- Sign-up Page

Verification on customers' information is applied where License ID, National ID, and Emails must be unique. Also each field must abide by its correct format.

User Web Pages

1- Welcome user Page

This page appears when the customer signs in, showing all available cars in the customer’s country. If the customer wants to reserve a car in another country he must change his country from Account > Manage your Account. Pressing the Rent Now button redirects to the bottom of the page where the available cars exist.

2- Rent a Car

This page is shown for each car with its own image and specifications. At the bottom, there are two buttons: 'Reserve' and ‘Pay’ are enabled or disabled according to the reservations of this car and the response of the admin.

3- Checkout This page shows the reservation information to the customer just before the payment is done.

Admin Web Pages

1- Welcome Admin Page This page appears when the admin signs in, all available cars in the customer’s country. Various buttons are shown giving authority to the admin to show, edit, delete or add cars, offices and reservations.

2- Edit an Office

This page allows the admin to edit any office.

3- Add an Office

This page allows an admin to add a new office.

4- Edit Car

This page allows the admin to edit any specifications of a car and it allows changing the status of a car for a specific period.

5- Add Car

This page allows the admin to add a new car.

6- Show the Payments

Enter the desired period.

Inserted the period from 01-02-2022 to 28-02-2022

7- Reservations on a specific day

This page allows the admin to get all reservations made in a certain day

8- Cars pending to be approved or rejected by the admin