| Line 113... |
Line 113... |
| 113 |
<option value="" disabled selected>Portal Access</option>
|
113 |
<option value="" disabled selected>Portal Access</option>
|
| 114 |
<option value="false">False</option>
|
114 |
<option value="false">False</option>
|
| 115 |
<option value="true">True</option>
|
115 |
<option value="true">True</option>
|
| 116 |
</select>
|
116 |
</select>
|
| 117 |
</div>
|
117 |
</div>
|
| - |
|
118 |
|
| - |
|
119 |
|
| 118 |
|
120 |
|
| 119 |
</div>
|
121 |
</div>
|
| 120 |
<div class = "row">
|
122 |
<div class = "row">
|
| 121 |
<div class="col-lg-2">
|
123 |
<div class="col-lg-2">
|
| - |
|
124 |
<select class="form-control input-sm" id ="status" placeholder="Active/InActive Promoter">
|
| - |
|
125 |
<option value="" disabled selected>Active/In-Active Promoter</option>
|
| - |
|
126 |
<option value="false">False</option>
|
| - |
|
127 |
<option value="true">True</option>
|
| - |
|
128 |
</select>
|
| - |
|
129 |
</div>
|
| - |
|
130 |
|
| - |
|
131 |
<div class="col-lg-2">
|
| 122 |
<input class="btn btn-primary create-promoter" type="button" value="Create/Update Promoter">
|
132 |
<input class="btn btn-primary create-promoter" type="button" value="Create/Update Promoter">
|
| 123 |
</div>
|
133 |
</div>
|
| 124 |
</div>
|
134 |
</div>
|
| 125 |
|
135 |
|
| 126 |
</div>
|
136 |
</div>
|
| Line 141... |
Line 151... |
| 141 |
<th>email</th>
|
151 |
<th>email</th>
|
| 142 |
<th>mobile</th>
|
152 |
<th>mobile</th>
|
| 143 |
<th>Brand</th>
|
153 |
<th>Brand</th>
|
| 144 |
<th>Protal Access</th>
|
154 |
<th>Protal Access</th>
|
| 145 |
<th>Partner Name</th>
|
155 |
<th>Partner Name</th>
|
| - |
|
156 |
<th>Status</th>
|
| 146 |
<th colspan = 2>Status</th>
|
157 |
<th colspan = 2>Action</th>
|
| 147 |
</tr>
|
158 |
</tr>
|
| 148 |
#if(!$promoterInfo.isEmpty())
|
159 |
#if(!$promoterInfo.isEmpty())
|
| 149 |
#foreach( $request in $promoterInfo )
|
160 |
#foreach( $request in $promoterInfo )
|
| 150 |
<tr class="promoterInfo" data="$request.getId()">
|
161 |
<tr class="promoterInfo" data="$request.getId()">
|
| 151 |
<td>$request.getId()</td>
|
162 |
<td>$request.getId()</td>
|
| 152 |
<td>$request.getName()</td>
|
163 |
<td>$request.getName()</td>
|
| 153 |
<td>$request.getEmail()</td>
|
164 |
<td>$request.getEmail()</td>
|
| 154 |
<td>$request.getMobile()</td>
|
165 |
<td>$request.getMobile()</td>
|
| 155 |
<td>$request.getBrand()</td>
|
166 |
<td>$request.getBrand()</td>
|
| 156 |
<td>$request.isSdPortalAccess()</td>
|
167 |
<td>$request.isSdPortalAccess()</td>
|
| - |
|
168 |
<td>$request.isStatus()</td>
|
| 157 |
#if($partnersMap.get($request.getRetailerId()))
|
169 |
#if($partnersMap.get($request.getRetailerId()))
|
| 158 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
170 |
<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
|
| 159 |
#else
|
171 |
#else
|
| 160 |
<td> null </td>
|
172 |
<td> null </td>
|
| 161 |
#end
|
173 |
#end
|
| 162 |
<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>
|
174 |
<td><button class="btn btn-primary updatePromoterdetail" data-requestid="$request.getId()" data-name="$request.getName()" data-brand="$request.getBrand()" data-partnerid ="$partnersMap.get($request.getRetailerId()).getPartnerId()" 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>
|
| 163 |
</td>
|
175 |
</td>
|
| 164 |
|
176 |
|
| 165 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
177 |
<td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Remove</button>
|
| 166 |
</td>
|
178 |
</td>
|
| 167 |
</tr>
|
179 |
</tr>
|