Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc-beu-v2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c47d5151
authored
2019-06-26 14:25:38 +0000
by
Manish Mihsra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added changes to solve issue in Predictive
1 parent
a374283f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
application/app/Http/Controllers/DialerController.php
application/app/Jobs/KPAMIListen.php
application/public/assets/js/dialer.js
application/app/Http/Controllers/DialerController.php
View file @
c47d515
...
...
@@ -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"
];
...
...
application/app/Jobs/KPAMIListen.php
View file @
c47d515
...
...
@@ -534,7 +534,7 @@ class KPAMIListen implements IEventListener
}
}
}
if
(
$crmcall
->
type
==
"Auto
"
&&
$crmcall
->
user_id
>
0
)
if
(
$crmcall
->
type
==
"Auto
Call"
)
{
$crmcall
->
userstatus
=
"AutoCall"
;
$crmcall
->
usersubstatus
=
"AutoCall"
;
...
...
application/public/assets/js/dialer.js
View file @
c47d515
...
...
@@ -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
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment