| Line 35... |
Line 35... |
| 35 |
<th><?php echo $this->Paginator->sort('last_active');?></th>
|
35 |
<th><?php echo $this->Paginator->sort('last_active');?></th>
|
| 36 |
<th><?php echo $this->Paginator->sort('agent_name');?></th>
|
36 |
<th><?php echo $this->Paginator->sort('agent_name');?></th>
|
| 37 |
<th><?php echo $this->Paginator->sort('retailer_id');?></th>
|
37 |
<th><?php echo $this->Paginator->sort('retailer_id');?></th>
|
| 38 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
38 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
| 39 |
<th> </th>
|
39 |
<th> </th>
|
| 40 |
<th>App Tab</th>
|
40 |
<th>Action</th>
|
| 41 |
</tr>
|
41 |
</tr>
|
| 42 |
</thead>
|
42 |
</thead>
|
| 43 |
<tbody>
|
43 |
<tbody>
|
| 44 |
<?php foreach($users AS $user):?>
|
44 |
<?php foreach($users AS $user):?>
|
| 45 |
<tr>
|
45 |
<tr>
|
| Line 72... |
Line 72... |
| 72 |
<?php if(in_array('admin/users/userrefund',$acls[$logged_user['group_id']]['allowed'])):?>
|
72 |
<?php if(in_array('admin/users/userrefund',$acls[$logged_user['group_id']]['allowed'])):?>
|
| 73 |
| <a href="/admin/users/userrefund/?id=<?php echo $user['User']['id'].'&email='.$user['User']['email'].'&mob='.$user['User']['mobile_number'];?>">Refund</a>
|
73 |
| <a href="/admin/users/userrefund/?id=<?php echo $user['User']['id'].'&email='.$user['User']['email'].'&mob='.$user['User']['mobile_number'];?>">Refund</a>
|
| 74 |
<?php endif;?>
|
74 |
<?php endif;?>
|
| 75 |
</td>
|
75 |
</td>
|
| 76 |
<td>
|
76 |
<td>
|
| 77 |
<?php if(empty($user['Appacl']['access'])):?>
|
77 |
<?php if($user['status']==1):?>
|
| - |
|
78 |
<a href="/admin/appacls/usercalled/<?php echo $user['User']['id'];?>"><button type="button" class="btn btn-success btn-xs">Called</button></a>
|
| 78 |
<a href="/admin/appacls/activate/<?php echo $user['User']['id'];?>"><button type="button" class="btn btn-danger btn-xs">Activate</button></a>
|
79 |
<a href="/admin/appacls/userunreachable/<?php echo $user['User']['id'];?>"><button type="button" class="btn btn-danger btn-xs">Unreachable</button></a>
|
| 79 |
<?php else:?>
|
80 |
<?php else:?>
|
| 80 |
<span class="label label-success">Activated</span>
|
81 |
|
| 81 |
<?php endif;?>
|
82 |
<?php endif;?>
|
| 82 |
</td>
|
83 |
</td>
|
| 83 |
</tr>
|
84 |
</tr>
|
| 84 |
<?php endforeach;?>
|
85 |
<?php endforeach;?>
|
| 85 |
</tbody>
|
86 |
</tbody>
|