Subversion Repositories SmartDukaan

Rev

Rev 15226 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
15226 manas 1
<div class="callhistories index">
15404 manas 2
<h3><?php if(sizeof($result)==0) {echo h("No result");} else{?></h3>
15226 manas 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>
15404 manas 26
		<!-- <td><?php echo h($callhistory['c']['mobile_number']); ?>&nbsp;</td> -->
27
		<td><?php echo h(substr($callhistory['c']['mobile_number'], 0, 4) . str_repeat("X", strlen($callhistory['c']['mobile_number']) - 6) . substr($callhistory['c']['mobile_number'], -2)); ?>&nbsp;</td>
15226 manas 28
 
29
		<td><?php echo h($callhistory['c']['call_type']); ?>&nbsp;</td>
30
		<td><?php if($callhistory['c']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['c']['sms_verified']);} ?>&nbsp;</td>
31
		<td><?php echo h($callhistory['c']['call_time']); ?>&nbsp;</td>
32
		<td><?php echo h($callhistory['c']['duration_sec']); ?>&nbsp;</td>
33
		<td><?php echo h($callhistory['c']['call_disposition']); ?>&nbsp;</td>
34
		<td><?php echo h($callhistory['c']['disposition_description']); ?>&nbsp;</td>
35
		<td><?php echo h($callhistory['c']['created']); ?>&nbsp;</td>
36
	</tr>
37
<?php endforeach; ?>
38
	</table>
15404 manas 39
<?php }?>	
15226 manas 40
</div>