Bug Fix: Accounting Payment List

"Jobs Awaiting Finance - Awaiting Payment" list was incorrectly
including jobs.
This commit is contained in:
Gary Sharp
2014-02-04 12:13:11 +11:00
parent 6bacf6e3a5
commit 3bc8b63700
+1 -1
View File
@@ -158,7 +158,7 @@ namespace Disco.Web.Controllers
{
var m = new Models.Job.ListModel() { Title = "Jobs Awaiting Finance - Accounting Payment" };
m.JobTable = ManagedJobList.OpenJobsTable(q => q.Where(j =>
j.JobTypeId == JobType.JobTypeIds.HNWar && (!j.JobMetaNonWarranty_AccountingChargeAddedDate.HasValue || !j.JobMetaNonWarranty_AccountingChargePaidDate.HasValue)
j.JobTypeId == JobType.JobTypeIds.HNWar && ((j.JobMetaNonWarranty_AccountingChargeRequiredDate.HasValue || j.JobMetaNonWarranty_AccountingChargeAddedDate.HasValue) && !j.JobMetaNonWarranty_AccountingChargePaidDate.HasValue)
).OrderBy(j => j.Id));
// UI Extensions