| Line 12... |
Line 12... |
| 12 |
<th>Status</th>
|
12 |
<th>Status</th>
|
| 13 |
<th>Partner Name</th>
|
13 |
<th>Partner Name</th>
|
| 14 |
<th colspan = 2>Status</th>
|
14 |
<th colspan = 2>Status</th>
|
| 15 |
</tr>
|
15 |
</tr>
|
| 16 |
#if(!$promoterInfo.isEmpty())
|
16 |
#if(!$promoterInfo.isEmpty())
|
| 17 |
#foreach( $request in $promoterInfo )
|
17 |
#foreach( $promoterInfoModel in $promoterInfo )
|
| 18 |
<tr class="promoterInfo" data="$request.getId()">
|
18 |
<tr class="promoterInfo" data="$promoterInfoModel.getId()">
|
| 19 |
<td>$request.getId()</td>
|
19 |
<td>$promoterInfoModel.getId()</td>
|
| 20 |
<td>$request.getName()</td>
|
20 |
<td>$promoterInfoModel.getName()</td>
|
| 21 |
<td>$request.getEmail()</td>
|
21 |
<td>$promoterInfoModel.getEmail()</td>
|
| 22 |
<td>$request.getMobile()</td>
|
22 |
<td>$promoterInfoModel.getMobile()</td>
|
| 23 |
<td>$request.getBrand()</td>
|
23 |
<td>$promoterInfoModel.getBrand()</td>
|
| 24 |
<td>$request.isSdPortalAccess()</td>
|
24 |
<td>$promoterInfoModel.isSdPortalAccess()</td>
|
| 25 |
<td>$request.isStatus()</td>
|
25 |
<td>$promoterInfoModel.isStatus()</td>
|
| 26 |
#if($partnersMap.get($request.getRetailerId()))
|
26 |
#if($partnersMap.get($promoterInfoModel.getRetailerId()))
|
| 27 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
27 |
<td>$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()</td>
|
| 28 |
#else
|
28 |
#else
|
| 29 |
<td> null </td>
|
29 |
<td> null </td>
|
| 30 |
#end
|
30 |
#end
|
| - |
|
31 |
<td>
|
| 31 |
<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()" data-portal="$request.isSdPortalAccess()" type="button" style="width:100%;border-radius:0px;">Edit</button>
|
32 |
<button class="btn btn-primary updatePromoterdetail"
|
| - |
|
33 |
data-requestid="$promoterInfoModel.getId()"
|
| - |
|
34 |
data-name="$promoterInfoModel.getName()"
|
| - |
|
35 |
data-brand="$promoterInfoModel.getBrand()"
|
| - |
|
36 |
data-partner="$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()"
|
| - |
|
37 |
data-email="$promoterInfoModel.getEmail()"
|
| - |
|
38 |
data-mobile="$promoterInfoModel.getMobile()"
|
| - |
|
39 |
data-portal="$promoterInfoModel.isSdPortalAccess()" type="button"
|
| - |
|
40 |
style="width:100%;border-radius:0px;">Edit
|
| - |
|
41 |
</button>
|
| 32 |
</td>
|
42 |
</td>
|
| - |
|
43 |
|
| 33 |
|
44 |
<td>
|
| 34 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
45 |
<button class="btn btn-primary removePromoter"
|
| - |
|
46 |
data-requestid="$promoterInfoModel.getId()" type="button"
|
| - |
|
47 |
style="width:100%;border-radius:0px;">Remove
|
| - |
|
48 |
</button>
|
| 35 |
</td>
|
49 |
</td>
|
| 36 |
</tr>
|
50 |
</tr>
|
| 37 |
#end
|
51 |
#end
|
| 38 |
#else
|
52 |
#else
|
| 39 |
<tr>
|
53 |
<tr>
|