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
89ebf718
authored
2019-02-27 19:50:08 +0530
by
prami
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
popup show if current campaing is inactive
1 parent
b2b8b8c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
2 deletions
application/app/Http/Controllers/DialerController.php
application/public/assets/js/dialer.js
application/resources/views/layout/module/dashboard/adminHomePage.blade.php
application/resources/views/layout/top_menu.blade.php
application/app/Http/Controllers/DialerController.php
View file @
89ebf71
This diff is collapsed.
Click to expand it.
application/public/assets/js/dialer.js
View file @
89ebf71
...
...
@@ -915,9 +915,25 @@ function updateDialerState(objstr,key,val,key2,val2)
{
doAjax
(
'dialer?action=previewnext&client='
+
client
,
datastr
,
'dialersearchresults'
,
'ajax_manualdial2'
,
'singlefail'
,
'POST'
,
function
(
retstr
){
if
(
retstr
.
responseText
==
"false"
){
$
(
"#tcampaign_select option"
).
each
(
function
(){
var
opt
=
$
(
this
).
val
();
if
(
opt
==
client
){
$
(
this
).
remove
();
}
});
var
errorModel
=
$
(
'#showInacitveClientErrMess'
);
errorModel
.
find
(
'.modal-body'
).
text
(
"Your current campaign "
+
client
+
' is no more active.'
);
errorModel
.
modal
(
'show'
);
//$('#showInacitveClientErrMess').modal('show');
campaignSelect
();
}
if
(
kstychCall
[
'previewcrmid'
]
!=
""
)
{
kSetDData
(
'C'
,
'previewcrmid'
,
""
);
kSetDData
(
'C'
,
'previewcrmid'
,
""
);
updateDialerState
();
}
else
...
...
application/resources/views/layout/module/dashboard/adminHomePage.blade.php
View file @
89ebf71
...
...
@@ -30,7 +30,7 @@
<div
class=
"col-sm-4 bot"
>
<a
href=
"javascript:;"
onclick=
"menuAction('disposition');return false;"
style=
"color:white;"
>
<div
class=
"new1"
>
<div
class=
"icon"
>
<i
class=
"fa fa-
users
"
></i></div>
<div
class=
"icon"
>
<i
class=
"fa fa-
list
"
></i></div>
Disposition List
</div>
</a>
...
...
application/resources/views/layout/top_menu.blade.php
View file @
89ebf71
...
...
@@ -45,6 +45,26 @@ if(!isset($data['personal']))$data['personal']=array();
background
:
#48cfae
;
padding
:
2px
;
}
#showInacitveClientErrMess
{
text-align
:
center
;
padding
:
0
!important
;
}
#showInacitveClientErrMess
:before
{
content
:
''
;
display
:
inline-block
;
height
:
100%
;
vertical-align
:
middle
;
margin-right
:
-4px
;
}
#showInacitveClientErrMess
.modal-dialog
{
display
:
inline-block
;
text-align
:
left
;
vertical-align
:
middle
;
}
</style>
<script>
...
...
@@ -60,6 +80,11 @@ $("#topuserdropmenu > li").hover(function() {
function
()
{
$
(
this
).
removeClass
(
'active'
);
});
$
(
document
).
ready
(
function
()
{
});
</script>
...
...
@@ -181,6 +206,19 @@ function createSearchRecordDiv(divid)
</div>
</div>
</div>
<div
class=
"modal"
id=
"showInacitveClientErrMess"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
id=
"errorClose"
aria-hidden=
"true"
>
×
</button>
</div>
<div
class=
"modal-body"
>
</div>
</div>
</div>
</div>
<div
class=
"modal"
id=
"kDialer_modal"
>
<div
class=
"modal-dialog"
style=
'width:95%;'
>
...
...
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