Rev 20052 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="callhistories index"><h2><?php echo __('Callhistories'); ?></h2><table cellpadding="0" cellspacing="0" class="table table-striped" ><tr><th><?php echo $this->Paginator->sort('id'); ?></th><th><?php echo $this->Paginator->sort('retailer_id'); ?></th><th><?php echo $this->Paginator->sort('agent_id'); ?></th><th><?php echo $this->Paginator->sort('mobile_number'); ?></th><th><?php echo $this->Paginator->sort('call_type'); ?></th><th><?php echo $this->Paginator->sort('sms_verified'); ?></th><th><?php echo $this->Paginator->sort('call_time'); ?></th><th><?php echo $this->Paginator->sort('duration_sec'); ?></th><th><?php echo $this->Paginator->sort('call_disposition'); ?></th><th><?php echo $this->Paginator->sort('disposition_description'); ?></th><th><?php echo $this->Paginator->sort('created'); ?></th></tr><?php foreach ($callhistories as $callhistory): ?><tr><td><?php echo h($callhistory['Callhistory']['id']); ?> </td><td><?php echo h($callhistory['Callhistory']['retailer_id']); ?> </td><td><?php //echo h($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") "); ?><?php echo $this->Html->link($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") ", array('controller' => 'Callhistories', 'action' => 'index', $callhistory['Callhistory']['agent_id'])); ?></td><td><?php echo h(substr($callhistory['Callhistory']['mobile_number'], 0, 4) . str_repeat("X", strlen($callhistory['Callhistory']['mobile_number']) - 6) . substr($callhistory['Callhistory']['mobile_number'], -2)); ?> </td><!-- <td><?php echo h($callhistory['Callhistory']['mobile_number']); ?> </td> --><td><?php echo h($callhistory['Callhistory']['call_type']); ?> </td><td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?> </td><td><?php echo h($callhistory['Callhistory']['call_time']); ?> </td><td><?php echo h($callhistory['Callhistory']['duration_sec']); ?> </td><td><?php echo h($callhistory['Callhistory']['call_disposition']); ?> </td><td><?php echo h($callhistory['Callhistory']['disposition_description']); ?> </td><td><?php echo h($callhistory['Callhistory']['created']); ?> </td></tr><?php endforeach; ?></table><p><?phpecho $this->Paginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?> </p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ' '));echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));?></div></div>