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
5523df1c
authored
2019-07-30 22:50:49 +0530
by
Manish Mihsra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added check for logged in user
1 parent
19eb3f96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
application/app/Jobs/KPAMIListen.php
application/app/Jobs/KPAMIListen.php
View file @
5523df1
...
...
@@ -1487,7 +1487,9 @@ class KPAMIListen implements IEventListener
{
$mode
=
"Predictive"
;
$campaignUserIds
=
User
::
where
(
'sel_campaign'
,
'='
,
$dialline
->
regexstr
)
->
select
(
'id'
)
->
get
()
->
toArray
();
$campaignUserIds
=
User
::
where
(
'presence'
,
'='
,
"1"
)
->
where
(
'sel_campaign'
,
'='
,
$dialline
->
regexstr
)
->
select
(
'id'
)
->
get
()
->
toArray
();
$sipid
=
Sipid
::
where
(
'server'
,
'='
,
$this
->
sipip
)
->
whereIn
(
"user"
,
$campaignUserIds
)
...
...
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