| 15219 |
manas |
1 |
<div class="callhistories index">
|
|
|
2 |
<h2><?php echo __('Callhistories'); ?></h2>
|
|
|
3 |
<table cellpadding="0" cellspacing="0" class="table table-striped" >
|
|
|
4 |
<tr>
|
|
|
5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
|
|
6 |
<th><?php echo $this->Paginator->sort('retailer_id'); ?></th>
|
|
|
7 |
<th><?php echo $this->Paginator->sort('agent_id'); ?></th>
|
|
|
8 |
<th><?php echo $this->Paginator->sort('mobile_number'); ?></th>
|
|
|
9 |
<th><?php echo $this->Paginator->sort('call_type'); ?></th>
|
|
|
10 |
<th><?php echo $this->Paginator->sort('sms_verified'); ?></th>
|
|
|
11 |
<th><?php echo $this->Paginator->sort('call_time'); ?></th>
|
|
|
12 |
<th><?php echo $this->Paginator->sort('duration_sec'); ?></th>
|
|
|
13 |
<th><?php echo $this->Paginator->sort('call_disposition'); ?></th>
|
|
|
14 |
<th><?php echo $this->Paginator->sort('disposition_description'); ?></th>
|
|
|
15 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
|
|
16 |
|
|
|
17 |
</tr>
|
|
|
18 |
<?php foreach ($callhistories as $callhistory): ?>
|
|
|
19 |
<tr>
|
|
|
20 |
<td><?php echo h($callhistory['Callhistory']['id']); ?> </td>
|
|
|
21 |
<td><?php echo h($callhistory['Callhistory']['retailer_id']); ?>
|
|
|
22 |
|
|
|
23 |
</td>
|
|
|
24 |
<td>
|
|
|
25 |
<?php echo h($callhistory['Callhistory']['agent_id']); ?>
|
|
|
26 |
</td>
|
|
|
27 |
<td><?php echo h($callhistory['Callhistory']['mobile_number']); ?> </td>
|
|
|
28 |
<td><?php echo h($callhistory['Callhistory']['call_type']); ?> </td>
|
|
|
29 |
<td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?> </td>
|
|
|
30 |
|
|
|
31 |
<td><?php echo h($callhistory['Callhistory']['call_time']); ?> </td>
|
|
|
32 |
<td><?php echo h($callhistory['Callhistory']['duration_sec']); ?> </td>
|
|
|
33 |
<td><?php echo h($callhistory['Callhistory']['call_disposition']); ?> </td>
|
|
|
34 |
<td><?php echo h($callhistory['Callhistory']['disposition_description']); ?> </td>
|
|
|
35 |
<td><?php echo h($callhistory['Callhistory']['created']); ?> </td>
|
|
|
36 |
</tr>
|
|
|
37 |
<?php endforeach; ?>
|
|
|
38 |
</table>
|
|
|
39 |
<p>
|
|
|
40 |
<?php
|
|
|
41 |
echo $this->Paginator->counter(array(
|
|
|
42 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
43 |
));
|
|
|
44 |
?> </p>
|
|
|
45 |
<div class="paging">
|
|
|
46 |
<?php
|
|
|
47 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
48 |
echo $this->Paginator->numbers(array('separator' => ' '));
|
|
|
49 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
50 |
?>
|
|
|
51 |
</div>
|
|
|
52 |
</div>
|