Subversion Repositories SmartDukaan

Rev

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

Rev 15226 Rev 15404
Line 14... Line 14...
14
					  <option value="saab">Saab</option>
14
					  <option value="saab">Saab</option>
15
					  <option value="mercedes">Mercedes</option>
15
					  <option value="mercedes">Mercedes</option>
16
					  <option value="audi">Audi</option>
16
					  <option value="audi">Audi</option>
17
					</select> -->
17
					</select> -->
18
        		</div>
18
        		</div>
19
                <div class="input-group col-xs-6 text-right" id="remote">
19
                <!-- <div class="input-group col-xs-6 text-right" id="remote">
20
                    <div class="input-group-btn w25px">
20
                    <div class="input-group-btn w25px">
21
                        <input type="submit" value="Submit">
21
                        <input type="submit" value="Submit">
22
                        
22
                        
23
                    </div>
23
                    </div>
-
 
24
                </div> -->
-
 
25
                <div class="input-group col-xs-6 text-left">
-
 
26
        			Search By:         			
-
 
27
        			<input type="radio" name="type" value="agent_name" checked="checked"/>Agent Name
-
 
28
                    <input type="radio" name="type" value="agent_id"/>Agent Id
-
 
29
                    <input type="radio" name="type" value="agent_role"/>Agent Role
-
 
30
 
-
 
31
        		</div>
-
 
32
                <div class="input-group col-xs-6 text-right" id="remote">
-
 
33
                    <input autocomplete="off" type="text" class="form-control" placeholder="Search for users" name="search" id="srch-term">
-
 
34
                    <div class="input-group-btn w25px">
-
 
35
                        <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
-
 
36
                    </div>
24
                </div>
37
                </div>
25
                
-
 
26
            </form>
38
            </form>
27
	
39
	
28
	<table cellpadding="0" cellspacing="0" class="table table-striped" >
40
	<table cellpadding="0" cellspacing="0" class="table table-striped" >
29
	<tr>
41
	<tr>
30
			<th><?php echo $this->Paginator->sort('id'); ?></th>
42
			<th><?php echo $this->Paginator->sort('id'); ?></th>
Line 48... Line 60...
48
		</td>
60
		</td>
49
		<td>
61
		<td>
50
			<?php echo h($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") "); ?>
62
			<?php echo h($callhistory['Agent']['name']." (". ($callhistory['Callhistory']['agent_id']).") "); ?>
51
 
63
 
52
		</td>
64
		</td>
-
 
65
		<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)); ?>&nbsp;</td>
-
 
66
		
53
		<td><?php echo h($callhistory['Callhistory']['mobile_number']); ?>&nbsp;</td>
67
		<!-- <td><?php echo h($callhistory['Callhistory']['mobile_number']); ?>&nbsp;</td> -->
54
		<td><?php echo h($callhistory['Callhistory']['call_type']); ?>&nbsp;</td>
68
		<td><?php echo h($callhistory['Callhistory']['call_type']); ?>&nbsp;</td>
55
		<td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?>&nbsp;</td>
69
		<td><?php if($callhistory['Callhistory']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['Callhistory']['sms_verified']);} ?>&nbsp;</td>
56
		
70
		
57
		<td><?php echo h($callhistory['Callhistory']['call_time']); ?>&nbsp;</td>
71
		<td><?php echo h($callhistory['Callhistory']['call_time']); ?>&nbsp;</td>
58
		<td><?php echo h($callhistory['Callhistory']['duration_sec']); ?>&nbsp;</td>
72
		<td><?php echo h($callhistory['Callhistory']['duration_sec']); ?>&nbsp;</td>