| Line 218... |
Line 218... |
| 218 |
</table>
|
218 |
</table>
|
| 219 |
</div>
|
219 |
</div>
|
| 220 |
#end
|
220 |
#end
|
| 221 |
#if($action.canVerifyCOD())
|
221 |
#if($action.canVerifyCOD())
|
| 222 |
<div>
|
222 |
<div>
|
| - |
|
223 |
<label>Transactions</label>
|
| 223 |
<table>
|
224 |
<table id="tr-table">
|
| 224 |
<thead>
|
225 |
<thead>
|
| 225 |
<tr>
|
226 |
<tr>
|
| 226 |
<th>Tr Id</th>
|
227 |
<th>Tr Id</th>
|
| 227 |
<th>Total</th>
|
228 |
<th>Total</th>
|
| 228 |
<th>Shipping</th>
|
229 |
<th>Shipping</th>
|
| 229 |
<th>Address</th>
|
230 |
<th>Address</th>
|
| 230 |
<th>Mobile</th>
|
231 |
<th>Mobile</th>
|
| 231 |
</tr>
|
232 |
</tr>
|
| 232 |
</thead>
|
233 |
</thead>
|
| 233 |
<tbody>
|
234 |
<tbody>
|
| 234 |
#foreach ($mapEntry in $action.getTransactions().entrySet())
|
235 |
#foreach($mapEntry in $action.getTransactions().entrySet())
|
| 235 |
<tr>
|
236 |
<tr>
|
| 236 |
<td>$mapEntry.key</td>
|
237 |
<td>$mapEntry.key</td>
|
| 237 |
<td>$action.getTransactionTotal().get($mapEntry.key)</td>
|
238 |
<td>$action.getTransactionTotal().get($mapEntry.key)</td>
|
| 238 |
<td>$action.getTransactionShipping().get($mapEntry.key)</td>
|
239 |
<td>$action.getTransactionShipping().get($mapEntry.key)</td>
|
| 239 |
<td>$action.getAddress($mapEntry.value)</td>
|
240 |
<td>$action.getAddress($mapEntry.value)</td>
|
| Line 251... |
Line 252... |
| 251 |
<table id="order-table" class="display">
|
252 |
<table id="order-table" class="display">
|
| 252 |
<thead>
|
253 |
<thead>
|
| 253 |
<tr>
|
254 |
<tr>
|
| 254 |
<th>Order Id</th>
|
255 |
<th>Order Id</th>
|
| 255 |
<th>Product</th>
|
256 |
<th>Product</th>
|
| 256 |
<th>Created</th>
|
- |
|
| 257 |
<th>Amount</th>
|
257 |
<th>Amount</th>
|
| 258 |
<th>Expected delivery</th>
|
258 |
<th>Expected delivery</th>
|
| 259 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
259 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 260 |
#else
|
260 |
#else
|
| - |
|
261 |
<th>Created</th>
|
| 261 |
<th>Mobile No</th>
|
262 |
<th>Mobile No</th>
|
| 262 |
<th>Shipping Address</th>
|
263 |
<th>Shipping Address</th>
|
| 263 |
#end
|
264 |
#end
|
| 264 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
265 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 265 |
<th></th>
|
266 |
<th></th>
|
| Line 292... |
Line 293... |
| 292 |
<td>
|
293 |
<td>
|
| 293 |
<a alt="Show Order Details" title="Show Order Details" href="/crm?email=&orderId=$orderId">
|
294 |
<a alt="Show Order Details" title="Show Order Details" href="/crm?email=&orderId=$orderId">
|
| 294 |
$orderId
|
295 |
$orderId
|
| 295 |
</a>
|
296 |
</a>
|
| 296 |
</td>
|
297 |
</td>
|
| - |
|
298 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| - |
|
299 |
<td class="truncated-text" truncatedTextWidth="400">$action.getProductName($order.getLineitems().get(0))</td>
|
| - |
|
300 |
<td>$order.getTotal_amount()</td>
|
| - |
|
301 |
<td class="truncated-text" truncatedTextWidth="250">$action.convertDate($order.getExpected_delivery_time())</td>
|
| - |
|
302 |
<td class="center-aligned"><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
| - |
|
303 |
<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>
|
| - |
|
304 |
#else
|
| 297 |
<td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
|
305 |
<td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
|
| 298 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
|
- |
|
| 299 |
<td>$order.getTotal_amount()</td>
|
306 |
<td>$order.getTotal_amount()</td>
|
| 300 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
307 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
| 301 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
- |
|
| 302 |
#else
|
- |
|
| 303 |
<td>$order.getCustomer_mobilenumber()</td>
|
308 |
<td>$order.getCustomer_mobilenumber()</td>
|
| 304 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
309 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
| 305 |
#end
|
310 |
#end
|
| 306 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
311 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 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>
|
- |
|
| 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>
|
- |
|
| 309 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
312 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
| 310 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
|
313 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" 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>
|
314 |
<td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
|
| 312 |
#elseif(($ticket.getCategory().name().equals("RETURN_FORM")) && ($action.canViewDoaRequests()))
|
315 |
#elseif(($ticket.getCategory().name().equals("RETURN_FORM")) && ($action.canViewDoaRequests()))
|
| 313 |
#set($storeAuthId = "authorize-return")
|
316 |
#set($storeAuthId = "authorize-return")
|