Bug Fix: Warranty Repair list

This commit is contained in:
Gary Sharp
2014-03-18 14:18:59 +11:00
parent 69091e0785
commit b841c6b2c0
4 changed files with 95 additions and 88 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ namespace Disco.Services
if (j.JobTypeId == JobType.JobTypeIds.HWar)
{
if (!string.IsNullOrEmpty(j.JobMetaWarranty_ExternalReference) && !j.JobMetaWarranty_ExternalCompletedDate.HasValue)
if (j.JobMetaWarranty_ExternalLoggedDate.HasValue && !j.JobMetaWarranty_ExternalCompletedDate.HasValue)
return Job.JobStatusIds.AwaitingWarrantyRepair; // Job Logged - but not marked as completed
}