Visitor.cs Changes

This commit is contained in:
2023-07-11 11:04:42 +05:30
parent 26d4cb7155
commit 7b293fea75
+6 -1
View File
@@ -14,7 +14,7 @@ namespace Bizgaze.CRM.Visitors.Infos
{ {
public enum Property public enum Property
{ {
VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid,PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber,ImageUrl, VisitorNumberId, VisitorEmailId VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid, PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber, ImageUrl, VisitorNumberId, VisitorEmailId
} }
#region Public Properties #region Public Properties
@@ -94,6 +94,11 @@ namespace Bizgaze.CRM.Visitors.Infos
"v.purposeofvisit", "v.purposeofvisit",
"ss.stagestatusname", "ss.stagestatusname",
"ss.refstatusid", "ss.refstatusid",
"s.stageid",
"v.statusid",
"v.tenantid",
"v.visitortype",
"v.seriesid",
"(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl", "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
"Case when purposeofvisit=1 then 'Interview' when purposeofvisit=2 then 'Official Meeting' when purposeofvisit=3 then 'Meeting an Employee' when purposeofvisit=4 then 'Package Delivery' when purposeofvisit=5 then 'Others' end as purposeofvisittype", "Case when purposeofvisit=1 then 'Interview' when purposeofvisit=2 then 'Official Meeting' when purposeofvisit=3 then 'Meeting an Employee' when purposeofvisit=4 then 'Package Delivery' when purposeofvisit=5 then 'Others' end as purposeofvisittype",
"concat(e.firstname, e.lastname) AS HostName", "concat(e.firstname, e.lastname) AS HostName",