| 24159 |
tejbeer |
1 |
<div class="row">
|
|
|
2 |
<div class="col-lg-12">
|
|
|
3 |
<table class="table table-striped table-advance table-hover">
|
|
|
4 |
<tbody>
|
|
|
5 |
<tr>
|
|
|
6 |
<th>Id</th>
|
|
|
7 |
<th>Name</th>
|
|
|
8 |
<th>email</th>
|
|
|
9 |
<th>mobile</th>
|
|
|
10 |
<th>Brand</th>
|
|
|
11 |
<th>Partner Name</th>
|
|
|
12 |
<th colspan = 2>Status</th>
|
|
|
13 |
</tr>
|
|
|
14 |
#if(!$promoterInfo.isEmpty())
|
|
|
15 |
#foreach( $request in $promoterInfo )
|
|
|
16 |
<tr class="promoterInfo" data="$request.getId()">
|
|
|
17 |
<td>$request.getId()</td>
|
|
|
18 |
<td>$request.getName()</td>
|
|
|
19 |
<td>$request.getEmail()</td>
|
|
|
20 |
<td>$request.getMobile()</td>
|
|
|
21 |
<td>$request.getBrand()</td>
|
|
|
22 |
#if($partnersMap.get($request.getRetailerId()))
|
|
|
23 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
|
|
24 |
#else
|
|
|
25 |
<td> null </td>
|
|
|
26 |
#end
|
|
|
27 |
<td><button class="btn btn-primary updatePromoterdetail" data-requestid="$request.getId()" data-name="$request.getName()" data-brand="$request.getBrand()" data-partner ="$partnersMap.get($request.getRetailerId()).getBusinessName()" data-email="$request.getEmail()" data-mobile="$request.getMobile()"type="button" style="width:100%;border-radius:0px;">Update</button>
|
|
|
28 |
</td>
|
|
|
29 |
|
|
|
30 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
|
|
31 |
</td>
|
|
|
32 |
</tr>
|
|
|
33 |
#end
|
|
|
34 |
#else
|
|
|
35 |
<tr>
|
|
|
36 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
37 |
</tr>
|
|
|
38 |
#end
|
|
|
39 |
</tbody>
|
|
|
40 |
</table>
|
|
|
41 |
</div>
|
|
|
42 |
</div>
|