Bug Fix: Accounting Payment List
"Jobs Awaiting Finance - Awaiting Payment" list was incorrectly including jobs.
This commit is contained in:
1 parent
6bacf6e3a5
commit
3bc8b63700
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user