Subversion Repositories SmartDukaan

Rev

Rev 15219 | Rev 15226 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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']); ?>&nbsp;</td>
21
		<td><?php echo h($callhistory['Callhistory']['retailer_id']); ?>&nbsp;
22
 
23
		</td>
24
		<td>
15220 manas 25
			<?php echo h($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") "); ?>
26
 
15219 manas 27
		</td>
28
		<td><?php echo h($callhistory['Callhistory']['mobile_number']); ?>&nbsp;</td>
29
		<td><?php echo h($callhistory['Callhistory']['call_type']); ?>&nbsp;</td>
30
		<td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?>&nbsp;</td>
31
 
32
		<td><?php echo h($callhistory['Callhistory']['call_time']); ?>&nbsp;</td>
33
		<td><?php echo h($callhistory['Callhistory']['duration_sec']); ?>&nbsp;</td>
34
		<td><?php echo h($callhistory['Callhistory']['call_disposition']); ?>&nbsp;</td>
35
		<td><?php echo h($callhistory['Callhistory']['disposition_description']); ?>&nbsp;</td>
36
		<td><?php echo h($callhistory['Callhistory']['created']); ?>&nbsp;</td>
37
	</tr>
38
<?php endforeach; ?>
39
	</table>
40
	<p>
41
	<?php
42
	echo $this->Paginator->counter(array(
43
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
44
	));
45
	?>	</p>
46
	<div class="paging">
47
	<?php
48
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
49
		echo $this->Paginator->numbers(array('separator' => ' '));
50
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
51
	?>
52
	</div>
53
</div>