c47d5151 by Manish Mihsra

Added changes to solve issue in Predictive

1 parent a374283f
......@@ -865,7 +865,7 @@ if($action=="closecall")
$user['peopledata']["dialer_userdata"]=$kstychCall["userdata"][$crmcall->crm_id];
$user['peopledata']["dialer_lastcall"]=date("Y-m-d H:i:s");
if($user['peopledata']["status"]=='New' || $user['peopledata']["status"]=='NEW' || $user['peopledata']["status"]=='Incall')$user['peopledata']["status"]="Called";
if($user['peopledata']["status"]=='New' || $user['peopledata']["status"]=='NEW' || $user['peopledata']["status"]=='Incall' || $user['peopledata']["status"]=='AutoCall')$user['peopledata']["status"]="Called";
//for Supervisor Comments - By Manish
$user['agentcomments']=$kstychCall["agentcomments"];
$user['supcomntid']=$kstychCall["supcomntid"];
......
......@@ -534,7 +534,7 @@ class KPAMIListen implements IEventListener
}
}
}
if($crmcall->type=="Auto" && $crmcall->user_id>0)
if($crmcall->type=="AutoCall")
{
$crmcall->userstatus="AutoCall";
$crmcall->usersubstatus="AutoCall";
......
......@@ -279,6 +279,12 @@ function kCallAction(num,action)
function dialerDispNumberClick()
{
if(kstychDialer["mDialerSubState"]=="Predictive")
{
simpleNotification('Warning','topRight',"Redial Is Not Allowed!")
return;
}
var lastnumber=$("#spandialer_num").html();
kstychCall['callWrapupTime']=180;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!