Subversion Repositories SmartDukaan

Rev

Rev 15226 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15226 Rev 15404
Line 1... Line 1...
1
<div class="callhistories index">
1
<div class="callhistories index">
2
<h3><?php if(sizeof($result)==0) {echo h("No result");} ?></h3>
2
<h3><?php if(sizeof($result)==0) {echo h("No result");} else{?></h3>
3
<table cellpadding="0" cellspacing="0" class="table table-striped" >
3
<table cellpadding="0" cellspacing="0" class="table table-striped" >
4
	<tr>
4
	<tr>
5
			<th><?php echo h('Id'); ?></th>
5
			<th><?php echo h('Id'); ?></th>
6
			<th><?php echo h('Retailer Id'); ?></th>
6
			<th><?php echo h('Retailer Id'); ?></th>
7
			<th><?php echo h('Agent_Id'); ?></th> 
7
			<th><?php echo h('Agent_Id'); ?></th> 
Line 21... Line 21...
21
		<td><?php echo h($callhistory['c']['retailer_id']); ?>&nbsp;</td>
21
		<td><?php echo h($callhistory['c']['retailer_id']); ?>&nbsp;</td>
22
		<td>
22
		<td>
23
			<?php echo h($callhistory['a']['name']." (". ($callhistory['c']['agent_id']).") "); ?>
23
			<?php echo h($callhistory['a']['name']." (". ($callhistory['c']['agent_id']).") "); ?>
24
 
24
 
25
		</td>
25
		</td>
26
		<td><?php echo h($callhistory['c']['mobile_number']); ?>&nbsp;</td>
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>
27
 
28
 
28
		<td><?php echo h($callhistory['c']['call_type']); ?>&nbsp;</td>
29
		<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 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']['call_time']); ?>&nbsp;</td>
31
		<td><?php echo h($callhistory['c']['duration_sec']); ?>&nbsp;</td>
32
		<td><?php echo h($callhistory['c']['duration_sec']); ?>&nbsp;</td>
Line 33... Line 34...
33
		<td><?php echo h($callhistory['c']['disposition_description']); ?>&nbsp;</td>
34
		<td><?php echo h($callhistory['c']['disposition_description']); ?>&nbsp;</td>
34
		<td><?php echo h($callhistory['c']['created']); ?>&nbsp;</td>
35
		<td><?php echo h($callhistory['c']['created']); ?>&nbsp;</td>
35
	</tr>
36
	</tr>
36
<?php endforeach; ?>
37
<?php endforeach; ?>
37
	</table>
38
	</table>
-
 
39
<?php }?>	
38
</div>
40
</div>
39
41