| 22761 |
amit.gupta |
1 |
<div class="container">
|
|
|
2 |
<!--<div class="row">
|
|
|
3 |
<div class="col-xs-12">
|
|
|
4 |
<?php echo $this->Form->create('Retailer');
|
|
|
5 |
$searchtype = array(0 => 'Invite code inserted', 1=> 'Invite code not inserted',2=>'Not Verified');
|
|
|
6 |
echo $this->Form->input('searchReatailerBy',array('options'=> $searchtype ));
|
|
|
7 |
echo $this->Form->end(__('Submit'));
|
|
|
8 |
?>
|
|
|
9 |
|
|
|
10 |
</div>
|
|
|
11 |
</div>-->
|
|
|
12 |
|
|
|
13 |
<?php if(isset($result) && !empty($result)):?>
|
|
|
14 |
<div class="row">
|
|
|
15 |
<div class="col-xs-12 ">
|
|
|
16 |
<table cellpadding="0" cellspacing="0" class="table table-striped">
|
|
|
17 |
<tr>
|
|
|
18 |
<th>Name</th>
|
|
|
19 |
<th>Email</th>
|
|
|
20 |
<th>Mobile</th>
|
|
|
21 |
<th>Business Name</th>
|
|
|
22 |
<th>Type</th>
|
|
|
23 |
<th>Number</th>
|
|
|
24 |
<th>Created</th>
|
|
|
25 |
<th>Actions</th>
|
|
|
26 |
</tr>
|
|
|
27 |
|
|
|
28 |
<?php foreach ($result as $rkey =>$rval):?>
|
|
|
29 |
<tr>
|
| 22777 |
amit.gupta |
30 |
<td><?php echo $rval['u']['first_name'].' '.$rval['u']['last_name'];?></td>
|
| 22761 |
amit.gupta |
31 |
<td><?php echo $rval['u']['email'];?></td>
|
|
|
32 |
<td><?php echo $rval['u']['mobile_number'];?></td>
|
|
|
33 |
<td><?php echo $rval['r']['name'];?></td>
|
|
|
34 |
<td><?php echo $rval['r']['type'];?></td>
|
|
|
35 |
<td><?php echo $rval['r']['number'];?></td>
|
|
|
36 |
<td><?php echo $rval['r']['created'];?></td>
|
| 22777 |
amit.gupta |
37 |
<td><button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#myModal">View Details</button>
|
| 22761 |
amit.gupta |
38 |
</tr>
|
|
|
39 |
<?php endforeach;?>
|
|
|
40 |
|
|
|
41 |
</table>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
<?php endif;?>
|
| 22766 |
amit.gupta |
45 |
<!-- Modal -->
|
|
|
46 |
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
|
|
47 |
<div class="modal-dialog" role="document">
|
|
|
48 |
<div class="modal-content">
|
|
|
49 |
<div class="modal-header">
|
|
|
50 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
51 |
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
|
|
|
52 |
</div>
|
|
|
53 |
<div class="modal-body">
|
| 22777 |
amit.gupta |
54 |
<input type="text" name="
|
| 22766 |
amit.gupta |
55 |
</div>
|
|
|
56 |
<div class="modal-footer">
|
| 22767 |
amit.gupta |
57 |
<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">Close</button>
|
|
|
58 |
<button type="button" class="btn btn-sm btn-primary">Save changes</button>
|
| 22766 |
amit.gupta |
59 |
</div>
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|
| 22761 |
amit.gupta |
63 |
</div>
|