| Line 216... |
Line 216... |
| 216 |
#end
|
216 |
#end
|
| 217 |
</tbody>
|
217 |
</tbody>
|
| 218 |
</table>
|
218 |
</table>
|
| 219 |
</div>
|
219 |
</div>
|
| 220 |
#end
|
220 |
#end
|
| - |
|
221 |
#if($action.canVerifyCOD())
|
| - |
|
222 |
<div>
|
| - |
|
223 |
<table>
|
| - |
|
224 |
<thead>
|
| - |
|
225 |
<tr>
|
| - |
|
226 |
<th>Tr Id</th>
|
| - |
|
227 |
<th>Total</th>
|
| - |
|
228 |
<th>Shipping</th>
|
| - |
|
229 |
<th>Address</th>
|
| - |
|
230 |
<th>Mobile</th>
|
| - |
|
231 |
</tr>
|
| - |
|
232 |
</thead>
|
| - |
|
233 |
<tbody>
|
| - |
|
234 |
#foreach ($mapEntry in $action.getTransactions().entrySet())
|
| - |
|
235 |
<tr>
|
| - |
|
236 |
<td>$mapEntry.key</td>
|
| - |
|
237 |
<td>$action.getTransactionTotal().get($mapEntry.key)</td>
|
| - |
|
238 |
<td>$action.getTransactionShipping().get($mapEntry.key)</td>
|
| - |
|
239 |
<td>$action.getAddress($mapEntry.value)</td>
|
| - |
|
240 |
<td>$mapEntry.value.getCustomer_mobilenumber()</td>
|
| - |
|
241 |
</tr>
|
| - |
|
242 |
#end
|
| - |
|
243 |
</tbody>
|
| - |
|
244 |
</table>
|
| - |
|
245 |
</div>
|
| - |
|
246 |
#end
|
| 221 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments() || ($action.canViewDoaRequests())))
|
247 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments() || ($action.canViewDoaRequests())))
|
| 222 |
<div id="bottom-infopane-upper">
|
248 |
<div id="bottom-infopane-upper">
|
| 223 |
<br />
|
249 |
<br />
|
| 224 |
<label class="heading">Orders</label><br />
|
250 |
<label class="heading">Orders</label><br />
|
| 225 |
<table id="order-table" class="display">
|
251 |
<table id="order-table" class="display">
|
| Line 227... |
Line 253... |
| 227 |
<tr>
|
253 |
<tr>
|
| 228 |
<th>Order Id</th>
|
254 |
<th>Order Id</th>
|
| 229 |
<th>Product</th>
|
255 |
<th>Product</th>
|
| 230 |
<th>Created</th>
|
256 |
<th>Created</th>
|
| 231 |
<th>Amount</th>
|
257 |
<th>Amount</th>
|
| - |
|
258 |
<th>Expected delivery</th>
|
| - |
|
259 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| - |
|
260 |
#else
|
| 232 |
<th>Mobile No</th>
|
261 |
<th>Mobile No</th>
|
| 233 |
<th>Shipping Address</th>
|
262 |
<th>Shipping Address</th>
|
| 234 |
<th>Expected delivery</th>
|
263 |
#end
|
| 235 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
264 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 236 |
<th>Trust Level</th>
|
- |
|
| 237 |
<th></th>
|
265 |
<th></th>
|
| 238 |
<th></th>
|
266 |
<th></th>
|
| 239 |
#elseif($ticket.getCategory().name().equals("STORE_PICKUP"))
|
267 |
#elseif($ticket.getCategory().name().equals("STORE_PICKUP"))
|
| 240 |
<th>Pickup Expiry</th>
|
268 |
<th>Pickup Expiry</th>
|
| 241 |
<th></th>
|
269 |
<th></th>
|
| Line 267... |
Line 295... |
| 267 |
</a>
|
295 |
</a>
|
| 268 |
</td>
|
296 |
</td>
|
| 269 |
<td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
|
297 |
<td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
|
| 270 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
|
298 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
|
| 271 |
<td>$order.getTotal_amount()</td>
|
299 |
<td>$order.getTotal_amount()</td>
|
| - |
|
300 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
| - |
|
301 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| - |
|
302 |
#else
|
| 272 |
<td>$order.getCustomer_mobilenumber()</td>
|
303 |
<td>$order.getCustomer_mobilenumber()</td>
|
| 273 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
304 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
| 274 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
305 |
#end
|
| 275 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
306 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 276 |
<td class="center-aligned">$action.getCustomerTrustLevel($order.getCustomer_id())</td>
|
- |
|
| 277 |
<td class="center-aligned"><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
307 |
<td class="center-aligned"><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
| 278 |
<td class="center-aligned"><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="COD_VERIFICATION_FAILED" class="display-cancel-order-popup CODButton"/> </td>
|
308 |
<td class="center-aligned"><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="COD_VERIFICATION_FAILED" class="display-cancel-order-popup CODButton"/> </td>
|
| 279 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
309 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
| 280 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
|
310 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
|
| 281 |
<td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
|
311 |
<td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
|