| Line 6... |
Line 6... |
| 6 |
<th>Id</th>
|
6 |
<th>Id</th>
|
| 7 |
<th>Name</th>
|
7 |
<th>Name</th>
|
| 8 |
<th>email</th>
|
8 |
<th>email</th>
|
| 9 |
<th>mobile</th>
|
9 |
<th>mobile</th>
|
| 10 |
<th>Brand</th>
|
10 |
<th>Brand</th>
|
| - |
|
11 |
<th>Protal Access</th>
|
| 11 |
<th>Partner Name</th>
|
12 |
<th>Partner Name</th>
|
| 12 |
<th colspan = 2>Status</th>
|
13 |
<th colspan = 2>Status</th>
|
| 13 |
</tr>
|
14 |
</tr>
|
| 14 |
#if(!$promoterInfo.isEmpty())
|
15 |
#if(!$promoterInfo.isEmpty())
|
| 15 |
#foreach( $request in $promoterInfo )
|
16 |
#foreach( $request in $promoterInfo )
|
| Line 17... |
Line 18... |
| 17 |
<td>$request.getId()</td>
|
18 |
<td>$request.getId()</td>
|
| 18 |
<td>$request.getName()</td>
|
19 |
<td>$request.getName()</td>
|
| 19 |
<td>$request.getEmail()</td>
|
20 |
<td>$request.getEmail()</td>
|
| 20 |
<td>$request.getMobile()</td>
|
21 |
<td>$request.getMobile()</td>
|
| 21 |
<td>$request.getBrand()</td>
|
22 |
<td>$request.getBrand()</td>
|
| - |
|
23 |
<td>$request.isSdPortalAccess()</td>
|
| 22 |
#if($partnersMap.get($request.getRetailerId()))
|
24 |
#if($partnersMap.get($request.getRetailerId()))
|
| 23 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
25 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
| 24 |
#else
|
26 |
#else
|
| 25 |
<td> null </td>
|
27 |
<td> null </td>
|
| 26 |
#end
|
28 |
#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>
|
29 |
<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>
|
| 28 |
</td>
|
30 |
</td>
|
| 29 |
|
31 |
|
| 30 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
32 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
| 31 |
</td>
|
33 |
</td>
|
| 32 |
</tr>
|
34 |
</tr>
|