roos-fs tasks #117
Updated by Vadim Pariev 11 months ago
**General**
Customer is an entity that is represent the owner of the vechicle. In the event of the service provision or other issues related to the vechicle there shpuld be a contact person to be available.
I as an Admin would like to create/delete/read/update the customer entity so that to manage the customers and their fleet
I as an Admin want to see all customers and have a look at their properties if needed so that to receive sufficient information on the customer
**Acceptance criterea**
<u>List of customers</u>
- a seperate area for managing the customers exist
- a Admin is able to trigger the new customer creation action
- a Admin can see the list of all customers in the list
- the list of customers is presented in a form of the table wuth:
--Name
--Adress
--E-mail
--Phone
--created at
- each customer could be opened and the following infromation is then to be seen:
<u>Single customer overview</u>
- the overview includes:
--Name
--Adress
--E-mail
--Phone
--created at
--Related objects attached to the Customer entity
--Cars
--Users
- Admin is able to remove the users from the customer or add them (but only the ones who have the role "customer")
<u>New customer creation</u>
- all basic fields are to be obligatory to be entered
--Name
---Validate if the name exsit, no duplications are allowed
--Adress
---No validation required
--E-mail
---Validate if the name exsit, no duplications are allowed
--Phone
---Validation for the phone number (is a nice to have)
- Admin can assign the users (but only the ones who have the role "customer") from this screen, but it is not obligatory
- the newly created customer appears in the list