-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Description: At present it is needed to fill always the client when you track a task in phpreport. This is so because a project can belong to several customers in the current data model. However, that is not a case to take into account. It does only happen in a few cases and can be changed how this was filled. Therefore, one project should belong only to a customer. If this is this way, it is enough to choose the project in the task to deduce the customer. This feature consists of changing the data model so that a project can have only a customer and, then, to change the UI so that if you fill the project the save operation is successful.
Rationale: It provides the following advantages:
- It simplifies the data model of the database.
- It simplies and makes faster to fill the phpreport.
- It saves space in the screen.
Assessment: It is needed to solve manually any existing projects which are assigned to several customers. A script should be developed to change this: it should assign the project to the most frequent customer, leave old customer as an unused column in tasks table.