LookupSource List logic adjust
This commit is contained in:
@ -275,10 +275,14 @@ namespace IronIntel.Contractor.Site
|
|||||||
hasJobsite = true;
|
hasJobsite = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (q.QuestionType == QuestionTypes.EmailList)
|
||||||
|
{
|
||||||
|
hasEmail = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasEmail)
|
}
|
||||||
|
//if (hasEmail)
|
||||||
{
|
{
|
||||||
ir.EmailList = aic.GetInspectEmailList(companyId, string.Empty);
|
ir.EmailList = aic.GetInspectEmailList(companyId, string.Empty);
|
||||||
}
|
}
|
||||||
@ -287,7 +291,7 @@ namespace IronIntel.Contractor.Site
|
|||||||
var ac = CreateClient<AssetQueryClient>();
|
var ac = CreateClient<AssetQueryClient>();
|
||||||
ir.AssetList = ac.GetAssetBasicInfoByUser(companyId, string.Empty, session.User.UID);
|
ir.AssetList = ac.GetAssetBasicInfoByUser(companyId, string.Empty, session.User.UID);
|
||||||
}
|
}
|
||||||
if (hasJobsite)
|
//if (hasJobsite)
|
||||||
{
|
{
|
||||||
var jc = CreateClient<JobSiteProvider>();
|
var jc = CreateClient<JobSiteProvider>();
|
||||||
ir.JobSiteList = jc.GetJobSiteLimitItems(companyId, string.Empty);
|
ir.JobSiteList = jc.GetJobSiteLimitItems(companyId, string.Empty);
|
||||||
|
2
Site
2
Site
Submodule Site updated: a8a97bfcdf...23d7c999d9
Reference in New Issue
Block a user