UpdateVisitorBeenHerePreAction.cs Changes
Cette révision appartient à :
@@ -75,16 +75,18 @@ namespace Bizgaze.CRM.Visitors.ActionProviders
|
|||||||
if (visitorsinfo.Result != null)
|
if (visitorsinfo.Result != null)
|
||||||
{
|
{
|
||||||
refstatusid = visitorsinfo.Result.RefStatusId;
|
refstatusid = visitorsinfo.Result.RefStatusId;
|
||||||
|
visitorid = visitorsinfo.Result.VisitorId;
|
||||||
if (refstatusid == 1)
|
if (refstatusid == 1)
|
||||||
{
|
{
|
||||||
stageStatusName = "Pre-Invite";
|
stageStatusName = "Pre-Invite";
|
||||||
|
var agree = await visitorManager.VisitorAgreementAsync(request, visitorid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
stageStatusName = "CheckIn";
|
stageStatusName = "CheckIn";
|
||||||
}
|
}
|
||||||
var code = visitorsinfo.Result.Code;
|
var code = visitorsinfo.Result.Code;
|
||||||
visitorid = visitorsinfo.Result.VisitorId;
|
|
||||||
var agreement = visitorsinfo.Result.Agreement;
|
var agreement = visitorsinfo.Result.Agreement;
|
||||||
visitorsinfo.Result.Agreement = agreement;
|
visitorsinfo.Result.Agreement = agreement;
|
||||||
dictObj["agreement"] = true;
|
dictObj["agreement"] = true;
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur