| 15219 |
manas |
1 |
<div class="callhistories index">
|
|
|
2 |
<h2><?php echo __('Callhistories'); ?></h2>
|
| 15226 |
manas |
3 |
<form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/callhistories/search">
|
|
|
4 |
<!-- <div >
|
|
|
5 |
<input type="radio" id="radio1" name="type" value="date" checked="checked" onchange="check();" />Date
|
|
|
6 |
<input type="radio" id="radio2" name="type" value="agent" checked="checked" onchange="check();"/>Agent
|
|
|
7 |
</div> -->
|
|
|
8 |
<div class="input-group col-xs-6 text-left">
|
|
|
9 |
Date From<input type="date" name="date_from" value="Date"/>
|
|
|
10 |
Date To<input type="date" name="date_to" value="Date"/>
|
|
|
11 |
<!-- Agent Code
|
|
|
12 |
<select name="">
|
|
|
13 |
<option value="volvo">Volvo</option>
|
|
|
14 |
<option value="saab">Saab</option>
|
|
|
15 |
<option value="mercedes">Mercedes</option>
|
|
|
16 |
<option value="audi">Audi</option>
|
|
|
17 |
</select> -->
|
|
|
18 |
</div>
|
|
|
19 |
<div class="input-group col-xs-6 text-right" id="remote">
|
|
|
20 |
<div class="input-group-btn w25px">
|
|
|
21 |
<input type="submit" value="Submit">
|
|
|
22 |
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
</form>
|
|
|
27 |
|
| 15219 |
manas |
28 |
<table cellpadding="0" cellspacing="0" class="table table-striped" >
|
|
|
29 |
<tr>
|
|
|
30 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
|
|
31 |
<th><?php echo $this->Paginator->sort('retailer_id'); ?></th>
|
|
|
32 |
<th><?php echo $this->Paginator->sort('agent_id'); ?></th>
|
|
|
33 |
<th><?php echo $this->Paginator->sort('mobile_number'); ?></th>
|
|
|
34 |
<th><?php echo $this->Paginator->sort('call_type'); ?></th>
|
|
|
35 |
<th><?php echo $this->Paginator->sort('sms_verified'); ?></th>
|
|
|
36 |
<th><?php echo $this->Paginator->sort('call_time'); ?></th>
|
|
|
37 |
<th><?php echo $this->Paginator->sort('duration_sec'); ?></th>
|
|
|
38 |
<th><?php echo $this->Paginator->sort('call_disposition'); ?></th>
|
|
|
39 |
<th><?php echo $this->Paginator->sort('disposition_description'); ?></th>
|
|
|
40 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
|
|
41 |
|
|
|
42 |
</tr>
|
|
|
43 |
<?php foreach ($callhistories as $callhistory): ?>
|
|
|
44 |
<tr>
|
|
|
45 |
<td><?php echo h($callhistory['Callhistory']['id']); ?> </td>
|
|
|
46 |
<td><?php echo h($callhistory['Callhistory']['retailer_id']); ?>
|
|
|
47 |
|
|
|
48 |
</td>
|
|
|
49 |
<td>
|
| 15220 |
manas |
50 |
<?php echo h($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") "); ?>
|
|
|
51 |
|
| 15219 |
manas |
52 |
</td>
|
|
|
53 |
<td><?php echo h($callhistory['Callhistory']['mobile_number']); ?> </td>
|
|
|
54 |
<td><?php echo h($callhistory['Callhistory']['call_type']); ?> </td>
|
|
|
55 |
<td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?> </td>
|
|
|
56 |
|
|
|
57 |
<td><?php echo h($callhistory['Callhistory']['call_time']); ?> </td>
|
|
|
58 |
<td><?php echo h($callhistory['Callhistory']['duration_sec']); ?> </td>
|
|
|
59 |
<td><?php echo h($callhistory['Callhistory']['call_disposition']); ?> </td>
|
|
|
60 |
<td><?php echo h($callhistory['Callhistory']['disposition_description']); ?> </td>
|
|
|
61 |
<td><?php echo h($callhistory['Callhistory']['created']); ?> </td>
|
|
|
62 |
</tr>
|
|
|
63 |
<?php endforeach; ?>
|
|
|
64 |
</table>
|
|
|
65 |
<p>
|
|
|
66 |
<?php
|
|
|
67 |
echo $this->Paginator->counter(array(
|
|
|
68 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
69 |
));
|
|
|
70 |
?> </p>
|
|
|
71 |
<div class="paging">
|
|
|
72 |
<?php
|
|
|
73 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
74 |
echo $this->Paginator->numbers(array('separator' => ' '));
|
|
|
75 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
76 |
?>
|
|
|
77 |
</div>
|
|
|
78 |
</div>
|