From 62426422387d625a7b08e8c5d6426dcebcb0bad1 Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Wed, 29 Apr 2020 15:28:38 +0800 Subject: [PATCH] LookupSource List logic adjust --- IronIntelContractorSiteLib/InspectionBasePage.cs | 8 ++++++-- Site | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/IronIntelContractorSiteLib/InspectionBasePage.cs b/IronIntelContractorSiteLib/InspectionBasePage.cs index 5384ec2..dcfb8ad 100644 --- a/IronIntelContractorSiteLib/InspectionBasePage.cs +++ b/IronIntelContractorSiteLib/InspectionBasePage.cs @@ -275,10 +275,14 @@ namespace IronIntel.Contractor.Site hasJobsite = true; } } + else if (q.QuestionType == QuestionTypes.EmailList) + { + hasEmail = true; + } } } } - if (hasEmail) + //if (hasEmail) { ir.EmailList = aic.GetInspectEmailList(companyId, string.Empty); } @@ -287,7 +291,7 @@ namespace IronIntel.Contractor.Site var ac = CreateClient(); ir.AssetList = ac.GetAssetBasicInfoByUser(companyId, string.Empty, session.User.UID); } - if (hasJobsite) + //if (hasJobsite) { var jc = CreateClient(); ir.JobSiteList = jc.GetJobSiteLimitItems(companyId, string.Empty); diff --git a/Site b/Site index a8a97bf..23d7c99 160000 --- a/Site +++ b/Site @@ -1 +1 @@ -Subproject commit a8a97bfcdfac1921d43bf49c635b8c5de25e78f9 +Subproject commit 23d7c999d9beda312a7190dcca40c1f172af3840