andrewblake1 / WorksManagement

Project/Works management system for Northpower's Westcoast Energy
0 stars 3 forks source link

Quantity max and mins not working for Task Template To Assembly #489

Open hawea opened 10 years ago

hawea commented 10 years ago

Hi Andrew,

I have just picked up a bug where the max and mins set in the TaskTemplateToAssembly are not limiting the selectable values in the TaskToAssembly. I haven't been able to diagnose, but it looks like there is a missing link between the TaskToAssembly and the TaskTemplateToAssembly tables, so that the min, max or selectable values can be referenced by TaskToAssembly.

  1. Click on this URL to see the original setup of the Task Template: http://dev.melbourne.wcewm.co.nz/TaskTemplateToAssembly/admin?task_template_id=91
  2. Click on this URL to see the TaskToAssembly screen of the Task created from the above template: http://dev.melbourne.wcewm.co.nz/TaskToAssembly/update/2020
  3. If you click on the Quantity field it should limit the values to only 1 or 2, as these are the min and max values we specified in the previous screen.

Please contact me to discuss when you have some time.

Cheers