Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15226 manas 1
<div class="callhistories index">
2
<h3><?php if(sizeof($result)==0) {echo h("No result");} ?></h3>
3
<table cellpadding="0" cellspacing="0" class="table table-striped" >
4
	<tr>
5
			<th><?php echo h('Id'); ?></th>
6
			<th><?php echo h('Retailer Id'); ?></th>
7
			<th><?php echo h('Agent_Id'); ?></th> 
8
			<th><?php echo h('Mobile Number'); ?></th>
9
			<th><?php echo h('Call Type'); ?></th>
10
			<th><?php echo h('Sms Verified'); ?></th>
11
			<th><?php echo h('Call Time'); ?></th>
12
			<th><?php echo h('Duration sec'); ?></th>
13
			<th><?php echo h('Call Disposition'); ?></th>
14
			<th><?php echo h('Disposition Description'); ?></th>
15
			<th><?php echo h('Created'); ?></th>
16
 
17
	</tr>	
18
	<?php foreach ($result as $callhistory): ?>
19
	<tr>
20
		<td><?php echo h($callhistory['c']['id']); ?>&nbsp;</td>
21
		<td><?php echo h($callhistory['c']['retailer_id']); ?>&nbsp;</td>
22
		<td>
23
			<?php echo h($callhistory['a']['name']." (". ($callhistory['c']['agent_id']).") "); ?>
24
 
25
		</td>
26
		<td><?php echo h($callhistory['c']['mobile_number']); ?>&nbsp;</td>
27
 
28
		<td><?php echo h($callhistory['c']['call_type']); ?>&nbsp;</td>
29
		<td><?php if($callhistory['c']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['c']['sms_verified']);} ?>&nbsp;</td>
30
		<td><?php echo h($callhistory['c']['call_time']); ?>&nbsp;</td>
31
		<td><?php echo h($callhistory['c']['duration_sec']); ?>&nbsp;</td>
32
		<td><?php echo h($callhistory['c']['call_disposition']); ?>&nbsp;</td>
33
		<td><?php echo h($callhistory['c']['disposition_description']); ?>&nbsp;</td>
34
		<td><?php echo h($callhistory['c']['created']); ?>&nbsp;</td>
35
	</tr>
36
<?php endforeach; ?>
37
	</table>
38
</div>