| Line 71... |
Line 71... |
| 71 |
</td>
|
71 |
</td>
|
| 72 |
</tr>
|
72 |
</tr>
|
| 73 |
</table>
|
73 |
</table>
|
| 74 |
</form>
|
74 |
</form>
|
| 75 |
</div>
|
75 |
</div>
|
| - |
|
76 |
<div id="cancel-cod-div" class="hidden">
|
| - |
|
77 |
<form id="cancel-cod-form">
|
| - |
|
78 |
<table class="display">
|
| - |
|
79 |
#foreach($item in $action.getCODCancelMatrix())
|
| - |
|
80 |
#if($velocityCount % 2 != 0)
|
| - |
|
81 |
<tr >
|
| - |
|
82 |
#end
|
| - |
|
83 |
<td>
|
| - |
|
84 |
#if($item.name().equals("INVALID_CONTACT_DETAILS"))
|
| - |
|
85 |
<input type="radio" name="cancelReason" value="$item.name()" checked />
|
| - |
|
86 |
#else
|
| - |
|
87 |
<input type="radio" name="cancelReason" value="$item.name()" />
|
| - |
|
88 |
#end
|
| - |
|
89 |
<label title="$item.getDescription()">$item.name()</label>
|
| - |
|
90 |
</td>
|
| - |
|
91 |
#if($velocityCount % 2 == 0)
|
| - |
|
92 |
</ tr>
|
| - |
|
93 |
#end
|
| - |
|
94 |
#end
|
| - |
|
95 |
<tr >
|
| - |
|
96 |
<td colspan="2">
|
| - |
|
97 |
<textarea name="body" rows="5" cols="80" id="cancel-cod-body"></textarea>
|
| - |
|
98 |
</td>
|
| - |
|
99 |
</tr>
|
| - |
|
100 |
<tr >
|
| - |
|
101 |
<td colspan="2">
|
| - |
|
102 |
<input type="submit" value="Cancel COD"/>
|
| - |
|
103 |
</td>
|
| - |
|
104 |
</tr>
|
| - |
|
105 |
</table>
|
| - |
|
106 |
</form>
|
| - |
|
107 |
</div>
|
| 76 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments()))
|
108 |
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments()))
|
| 77 |
<div id="bottom-infopane-upper">
|
109 |
<div id="bottom-infopane-upper">
|
| 78 |
<br />
|
110 |
<br />
|
| 79 |
<label class="heading">Orders</label><br />
|
111 |
<label class="heading">Orders</label><br />
|
| 80 |
<table id="order-table" class="display">
|
112 |
<table id="order-table" class="display">
|
| Line 114... |
Line 146... |
| 114 |
<td>$order.getTotal_amount()</td>
|
146 |
<td>$order.getTotal_amount()</td>
|
| 115 |
<td>$order.getCustomer_mobilenumber()</td>
|
147 |
<td>$order.getCustomer_mobilenumber()</td>
|
| 116 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
148 |
<td class="truncated-text-for-order-table">$action.getAddress($order)</td>
|
| 117 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
149 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
|
| 118 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
150 |
#if($ticket.getCategory().name().equals("COD_VERIFICATION"))
|
| 119 |
<td ><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status"/> </td>
|
151 |
<td ><input type="button" value="Verify COD" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status CODButton"/> </td>
|
| 120 |
<td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="update-order-status"/> </td>
|
152 |
<td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="display-cancel-order-popup CODButton"/> </td>
|
| 121 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
153 |
#elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
|
| 122 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getPromised_delivery_time())</td>
|
154 |
<td class="truncated-text-for-order-table">$action.convertDate($order.getPromised_delivery_time())</td>
|
| 123 |
<td class="truncated-text-for-order-table">$order.getDelayReason().name()</td>
|
155 |
<td class="truncated-text-for-order-table">$order.getDelayReason().name()</td>
|
| 124 |
#end
|
156 |
#end
|
| 125 |
</tr>
|
157 |
</tr>
|
| Line 130... |
Line 162... |
| 130 |
#end
|
162 |
#end
|
| 131 |
<div id="bottom-infopane-lower">
|
163 |
<div id="bottom-infopane-lower">
|
| 132 |
<br />
|
164 |
<br />
|
| 133 |
<br />
|
165 |
<br />
|
| 134 |
<label class="heading">Activities</label><br />
|
166 |
<label class="heading">Activities</label><br />
|
| - |
|
167 |
<a name=currentActivity></a>
|
| 135 |
<table id="activity-table" class="display">
|
168 |
<table id="activity-table" class="display">
|
| 136 |
<thead >
|
169 |
<thead >
|
| 137 |
<tr class="table-tr-header">
|
170 |
<tr class="table-tr-header">
|
| 138 |
<th >Activity Id</th>
|
171 |
<th >Activity Id</th>
|
| 139 |
<th >Type</th>
|
172 |
<th >Type</th>
|
| Line 156... |
Line 189... |
| 156 |
#set($trClass = "table-tr-odd")
|
189 |
#set($trClass = "table-tr-odd")
|
| 157 |
#if($velocityCount % 2 == 0)
|
190 |
#if($velocityCount % 2 == 0)
|
| 158 |
#set($trClass = "table-tr-even")
|
191 |
#set($trClass = "table-tr-even")
|
| 159 |
#end
|
192 |
#end
|
| 160 |
<tr class="$trClass">
|
193 |
<tr class="$trClass">
|
| - |
|
194 |
<td>
|
| - |
|
195 |
<a alt="Show Activity Description" title="Show Activity Description" href="#currentActivity" activityId="$activity.getId()" class="show-activity-description">
|
| - |
|
196 |
$activity.getId()
|
| - |
|
197 |
</a>
|
| - |
|
198 |
</td>
|
| 161 |
<td class="truncated-text-for-activity-table">$activity.getId()</td>
|
199 |
<!--<td class="truncated-text-for-activity-table">$activity.getId()</td>
|
| - |
|
200 |
-->
|
| 162 |
<td class="truncated-text-for-activity-table">$activity.getType().name()</td>
|
201 |
<td class="truncated-text-for-activity-table">$activity.getType().name()</td>
|
| 163 |
<td class="truncated-text-for-activity-table"><pre>$activity.getDescription()</pre></td>
|
202 |
<td id="activity-description" class="truncated-text-for-activity-table"><pre>$activity.getDescription()</pre></td>
|
| 164 |
<td class="truncated-text-for-activity-table">$date</td>
|
203 |
<td class="truncated-text-for-activity-table">$date</td>
|
| 165 |
<td class="truncated-text-for-activity-table">$action.getAgent($activity.getCreatorId()).getEmailId()</td>
|
204 |
<td class="truncated-text-for-activity-table">$action.getAgent($activity.getCreatorId()).getEmailId()</td>
|
| 166 |
#if($activity.isSetTicketAssigneeId())
|
205 |
#if($activity.isSetTicketAssigneeId())
|
| 167 |
<td class="truncated-text-for-activity-table">$action.getAgent($activity.getTicketAssigneeId()).getEmailId()</td>
|
206 |
<td class="truncated-text-for-activity-table">$action.getAgent($activity.getTicketAssigneeId()).getEmailId()</td>
|
| 168 |
#else
|
207 |
#else
|
| Line 196... |
Line 235... |
| 196 |
</tr>
|
235 |
</tr>
|
| 197 |
#end
|
236 |
#end
|
| 198 |
</tbody>
|
237 |
</tbody>
|
| 199 |
</table>
|
238 |
</table>
|
| 200 |
</div>
|
239 |
</div>
|
| - |
|
240 |
<div id="activity-description-pane" class="activity-description-bg">
|
| - |
|
241 |
</div>
|
| 201 |
<div id="bottom-infopane-middle">
|
242 |
<div id="bottom-infopane-middle">
|
| 202 |
<br />
|
243 |
<br />
|
| 203 |
<br />
|
244 |
<br />
|
| 204 |
<label class="heading">Ticket details</label><br />
|
245 |
<label class="heading">Ticket details</label><br />
|
| 205 |
<form id="update-ticket-form" ticketId="$ticketId" _method="put" method="post" action="">
|
246 |
<form id="update-ticket-form" ticketId="$ticketId" _method="put" method="post" action="">
|