andrewblake1 / WorksManagement

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

Duration is not reverting to NULL value when labour resource changed from Primary to Secondary #497

Closed hawea closed 9 years ago

hawea commented 9 years ago

Hi Andrew,

When labour resource or plant is changed from Secondary to Primary against a task template, the duration should be set to NULL upon update, however this is not happening and the duration is remaining against the resource. It is therefore still showing as a Primary resource after it is saved.

This issue is present in two places

  1. TaskTemplateToLabourResource
  2. TaskTemplateToPlantResource

It is working the way we would expect in these two areas::

  1. TaskToLabourResource
  2. TaskToPlant