acmpesuecc / Cab-Booking-Management-Simulation

This project is used for booking vehicles for travel purposes. It can be used both as an admin and a user. The admin has the ability to edit, add, delete and end driver trips. He can also the view the bills. The user can book vehicles like sedan, SUV or a bus. He can also choose the departure and arrival places from the file.
MIT License
2 stars 10 forks source link

Validating entries while adding driver profiles #4

Open aarav-babu opened 2 years ago

aarav-babu commented 2 years ago

Validate entries while adding driver profiles

In the admin section under manage drivers:- Under add drivers the following can be done: Restricting input of the type of car to the predefined car models and nothing else. Validating phone number entered (should be 10 digits, first digit should be between 6 and 9). Check for repetition of phone numbers. Repeats shouldn't be accepted.

Optional: Add a maximum and minimum limit for the cost per km entry. The maximum and minimum limits must be different for each car model.

Potential Bounty to be gained: Bounty points (apply for every successful PR submission): 40

s-air-a commented 2 years ago

Hey, could I please be assigned to this?

aarav-babu commented 2 years ago

Hey, could I please be assigned to this?

sure atb :)

Typeaway14 commented 2 years ago

Can you assign this to me?