Bug Fix #32: ConvertHWarToHNWar Components
Components are now correctly filtered and associated with jobs when converting from "Hardware - Warranty" to "Hardware - Non Warranty".
This commit is contained in:
@@ -210,7 +210,7 @@ namespace Disco.BI.Extensions
|
||||
var jobComponents = new List<DeviceComponent>();
|
||||
foreach (var component in components)
|
||||
{
|
||||
if (!component.DeviceModelId.HasValue)
|
||||
if (component.JobSubTypes.Count == 0)
|
||||
{
|
||||
jobComponents.Add(component);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user