The estimated timetable for this project is 2 to 3 days. The budget suggested is simply just a guideline, so if you feel that you can complete the project in less time or under budget, let us know and we'll give you higher priority. Payment will be issued immediately after each milestone has been completed and verified code has been submitted.
Deliverables are for a proper module that doesn't modify the prestashop core script.
1) Add drop down list (See Illustrations Attached)
-Labeled: 'Sold By:'
-Defaults to the employee creating or updating the order
-Drop down list is populated with a full list of company-wide employees
-Where to place the new field?
--Add it to the BO order entry page within the 'Customers' section at the beginning.
--Add it to the BO order details page within the 'Customers' section at the beginning.
---Add a new entry in the permissions section, within the 'orders' category
---'Edit' permissions allows the user to change / edit the value from a populated list of employees (First Name and Last Name)
---'View' permissions allows the user to view the current associated value, but not change that value
-Use ajax so that when the drop down list value changes, update the DB without reloading the entire page.
2) Considerations: Employee Deletion Handling
-When an employee is deleted elsewhere, their data should be retained and not deleted from the orders DB table or any other order related DB tables
-It is imperative that all employee / order associations is retained even after an employee is deleted.
-After an employee is deleted, future modifications to the order cannot take on value associated with a deleted employee