| Line 144... |
Line 144... |
| 144 |
#end
|
144 |
#end
|
| 145 |
</tbody>
|
145 |
</tbody>
|
| 146 |
</table>
|
146 |
</table>
|
| 147 |
</div>
|
147 |
</div>
|
| 148 |
#end
|
148 |
#end
|
| 149 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments()))
|
149 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments() || ($action.canViewDoaRequests())))
|
| 150 |
<div id="bottom-infopane-upper">
|
150 |
<div id="bottom-infopane-upper">
|
| 151 |
<br />
|
151 |
<br />
|
| 152 |
<label class="heading">Orders</label><br />
|
152 |
<label class="heading">Orders</label><br />
|
| 153 |
<table id="order-table" class="display">
|
153 |
<table id="order-table" class="display">
|
| 154 |
<thead>
|
154 |
<thead>
|
| Line 158... |
Line 158... |
| 158 |
<th>Created</th>
|
158 |
<th>Created</th>
|
| 159 |
<th>Amount</th>
|
159 |
<th>Amount</th>
|
| 160 |
<th>Mobile No</th>
|
160 |
<th>Mobile No</th>
|
| 161 |
<th>Shipping Address</th>
|
161 |
<th>Shipping Address</th>
|
| 162 |
<th>Expected delivery</th>
|
162 |
<th>Expected delivery</th>
|
| 163 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION") || $ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
163 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION") || $ticket.getCategory().name().equals("ORDER_CANCELLATION") || $ticket.getCategory().name().equals("DOA_RECEIVED") || $ticket.getCategory().name().equals("RETURN_FORM"))
|
| 164 |
<th></th>
|
164 |
<th></th>
|
| 165 |
<th></th>
|
165 |
<th></th>
|
| 166 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
166 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
| 167 |
<th>Promised delivery</th>
|
167 |
<th>Promised delivery</th>
|
| 168 |
<th>Delay reason</th>
|
168 |
<th>Delay reason</th>
|
| Line 192... |
Line 192... |
| 192 |
<td class="center-aligned"><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
192 |
<td class="center-aligned"><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
| 193 |
<td class="center-aligned"><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="display-cancel-order-popup CODButton"/> </td>
|
193 |
<td class="center-aligned"><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="display-cancel-order-popup CODButton"/> </td>
|
| 194 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
194 |
#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
|
| 195 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
|
195 |
<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
|
| 196 |
<td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
|
196 |
<td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
|
| - |
|
197 |
#elseif(($ticket.getCategory().name().equals("RETURN_FORM")) && ($action.canViewDoaRequests()))
|
| - |
|
198 |
<td class="center-aligned"><input id="deny-return" type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" class="CODButton"/> </td>
|
| - |
|
199 |
<td class="center-aligned"><input id="authorize-return" type="button" value="Authorize" ticketId="$ticketId" orderId="$orderId"class="CODButton"/> </td>
|
| - |
|
200 |
#elseif(($ticket.getCategory().name().equals("DOA_RECEIVED")) && ($action.canViewDoaRequests()))
|
| - |
|
201 |
<td class="center-aligned"><input id="deny-doa" type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" class="CODButton"/> </td>
|
| - |
|
202 |
<td class="center-aligned"><input id="authorize-doa" type="button" value="Authorize" ticketId="$ticketId" orderId="$orderId"class="CODButton"/> </td>
|
| 197 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
203 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
| 198 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getPromised_delivery_time())</td>
|
204 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getPromised_delivery_time())</td>
|
| 199 |
<td class="truncated-text-for-order-table">$order.getDelayReason().name()</td>
|
205 |
<td class="truncated-text-for-order-table">$order.getDelayReason().name()</td>
|
| - |
|
206 |
|
| 200 |
#end
|
207 |
#end
|
| 201 |
</tr>
|
208 |
</tr>
|
| 202 |
#end
|
209 |
#end
|
| 203 |
</tbody>
|
210 |
</tbody>
|
| 204 |
</table>
|
211 |
</table>
|
| Line 278... |
Line 285... |
| 278 |
</td-->
|
285 |
</td-->
|
| 279 |
</tr>
|
286 |
</tr>
|
| 280 |
#end
|
287 |
#end
|
| 281 |
</tbody>
|
288 |
</tbody>
|
| 282 |
</table>
|
289 |
</table>
|
| - |
|
290 |
<label class="bold">Attachments: </label>
|
| - |
|
291 |
#set($map = $action.getAllAttachmentsForTicket())
|
| - |
|
292 |
#foreach($key in $map.keySet())
|
| - |
|
293 |
<br/>
|
| - |
|
294 |
<a alt="Download Attachment" title="Download Attachment" href="/crm/activity-info!downloadAttachment?attachment=$map.get($key)" attachment="$map.get($key)" target="_blank">
|
| - |
|
295 |
$key
|
| - |
|
296 |
</a>
|
| - |
|
297 |
#end
|
| - |
|
298 |
<br/>
|
| 283 |
</div>
|
299 |
</div>
|
| 284 |
<div id="activity-description-pane" class="activity-description-bg">
|
300 |
<div id="activity-description-pane" class="activity-description-bg">
|
| 285 |
</div>
|
301 |
</div>
|
| 286 |
<div id="bottom-infopane-middle">
|
302 |
<div id="bottom-infopane-middle">
|
| 287 |
<br />
|
303 |
<br />
|