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:
Gary Sharp
2013-12-09 18:47:24 +11:00
parent 551b1d3a41
commit ec118a3395
@@ -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);
}