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
903d6aaf
authored
2019-07-24 16:00:13 +0000
by
Manish Mihsra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added one more new column in call log report - Predictive Mode
1 parent
f0ce5e68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
application/resources/views/layout/module/reports/calllog.blade.php
application/resources/views/layout/module/reports/calllog.blade.php
View file @
903d6aa
...
...
@@ -220,6 +220,7 @@ if(Input::has("dllogxls"))
$fieldsarr
[
$tcol
++
]
=
'DID'
;
$fieldsarr
[
$tcol
++
]
=
'WaitSec'
;
$fieldsarr
[
$tcol
++
]
=
'CallSec'
;
if
(
$dashboarduser
->
username
==
'admin'
)
$fieldsarr
[
$tcol
++
]
=
'cTalkSec'
;
$fieldsarr
[
$tcol
++
]
=
'TalkSec'
;
$fieldsarr
[
$tcol
++
]
=
'DispoSec'
;
$fieldsarr
[
$tcol
++
]
=
'Remarks'
;
...
...
@@ -236,7 +237,7 @@ if(Input::has("dllogxls"))
{
$row
=
$baseRow
++
;
$col
=
0
;
if
(
$
aline
->
type
==
"Auto"
||
$aline
->
type
==
"AutoCall"
)
if
(
$
dashboarduser
->
username
!=
'admin'
&&
(
$aline
->
type
==
"Auto"
||
$aline
->
type
==
"AutoCall"
)
)
{
$aline
->
waitSec
=
0
;
$aline
->
callSec
=
0
;
...
...
@@ -305,6 +306,7 @@ if(Input::has("dllogxls"))
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
$aline
->
did
);
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
gmdate
(
"H:i:s"
,
round
(
$aline
->
waitSec
/
1000
,
2
)));
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
gmdate
(
"H:i:s"
,
round
(
$aline
->
callSec
/
1000
,
2
)));
if
(
$dashboarduser
->
username
==
'admin'
)
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
gmdate
(
"H:i:s"
,
round
(
$aline
->
ctalkSec
/
1000
,
2
)));
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
gmdate
(
"H:i:s"
,
round
(
$talktime
/
1000
,
2
)));
$objPHPExcel
->
getActiveSheet
()
->
getCellByColumnAndRow
(
$col
++
,
$row
)
->
setValueExplicit
(
gmdate
(
"H:i:s"
,
round
(
$aline
->
dispoSec
/
1000
,
2
)));
/*$objPHPExcel->getActiveSheet()->getCellByColumnAndRow($col++,$row)->setValueExplicit($aline->userremarks);*/
...
...
@@ -351,7 +353,7 @@ foreach($alist as $aline)
{
$clientcode
=
""
;
if
(
$aline
->
type
==
"Auto"
||
$aline
->
type
==
"AutoCall"
)
if
(
$dashboarduser
->
username
!=
'admin'
&&
(
$aline
->
type
==
"Auto"
||
$aline
->
type
==
"AutoCall"
)
)
{
$aline
->
waitSec
=
0
;
$aline
->
callSec
=
0
;
...
...
@@ -418,8 +420,13 @@ foreach($alist as $aline)
<td>"
.
$aline
->
dialline_id
.
"</td>
<td>"
.
$aline
->
did
.
"</td>
<td>"
.
gmdate
(
"H:i:s"
,
round
(
$aline
->
waitSec
/
1000
,
2
))
.
"</td>
<td>"
.
gmdate
(
"H:i:s"
,
round
(
$aline
->
callSec
/
1000
,
2
))
.
"</td>
<td>"
.
gmdate
(
"H:i:s"
,
$finalTalkTime
)
.
"</td>
<td>"
.
gmdate
(
"H:i:s"
,
round
(
$aline
->
callSec
/
1000
,
2
))
.
"</td>"
;
if
(
$dashboarduser
->
username
==
'admin'
){
$outstr
.=
"<td>"
.
gmdate
(
"H:i:s"
,
round
(
$aline
->
ctalkSec
/
1000
,
2
))
.
"</td>"
;
}
$outstr
.=
"<td>"
.
gmdate
(
"H:i:s"
,
$finalTalkTime
)
.
"</td>
<td>"
.
gmdate
(
"H:i:s"
,
round
(
$aline
->
dispoSec
/
1000
,
2
))
.
"</td>
<td>
$recstr
</td>
</tr>"
;
...
...
@@ -895,6 +902,7 @@ series: [{
<th>
DID
</th>
<th>
WaitSec
</th>
<th>
CallSec
</th>
@if($dashboarduser->username == 'admin')
<th>
cTalkSec
</th>
@endif
<th>
TalkSec
</th>
<th>
DispoSec
</th>
<th>
Recording
</th>
...
...
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