| Line 59... |
Line 59... |
| 59 |
COD verification ticket
|
59 |
COD verification ticket
|
| 60 |
</a>
|
60 |
</a>
|
| 61 |
<br />
|
61 |
<br />
|
| 62 |
#end
|
62 |
#end
|
| 63 |
<br />
|
63 |
<br />
|
| 64 |
#if($order.getSource == 2)
|
64 |
#if($order.getSource() == 2)
|
| 65 |
<h3 style="color: #ff8000;font-style: italic;">This order was placed from store $order.getStoreId()</h3>
|
65 |
<h3 style="color: #ff8000;font-style: italic;">This order was placed from store $action.getStoreDetails($order.getStoreId())</h3>
|
| 66 |
#end
|
66 |
#end
|
| 67 |
#if($action.getStoreOrderDetail() && ($order.getStatus().getValue() == 15 || $order.getStatus().getValue() == 34))
|
67 |
#if($action.getStoreOrderDetail() && ($order.getStatus().getValue() == 15 || $order.getStatus().getValue() == 34))
|
| 68 |
<div style="margin: 10px 0;font-size: 15px;">
|
68 |
<div style="margin: 10px 0;font-size: 15px;">
|
| 69 |
Cash Refund Amount : $action.getStoreOrderDetail().getCashRefundAmount()<br>
|
69 |
Cash Refund Amount : $action.getStoreOrderDetail().getCashRefundAmount()<br>
|
| 70 |
Card Refund Amount : $action.getStoreOrderDetail().getCashRefundAmount()
|
70 |
Card Refund Amount : $action.getStoreOrderDetail().getCardRefundAmount()
|
| 71 |
</div>
|
71 |
</div>
|
| 72 |
#end
|
72 |
#end
|
| 73 |
#if($action.canOrderBeCancelled())
|
73 |
#if($action.canOrderBeCancelled())
|
| 74 |
#set($cancellationClass = "display-store-order-popup")
|
74 |
#set($cancellationClass = "display-store-order-popup")
|
| 75 |
#set($cancellationButtonId = "orderCancellationButton")
|
75 |
#set($cancellationButtonId = "orderCancellationButton")
|
| 76 |
#if($order.getSource == 2)
|
76 |
#if($order.getSource() == 2)
|
| 77 |
#set($cancellationClass = "display-cancel-store-order-popup")
|
77 |
#set($cancellationClass = "display-cancel-store-order-popup")
|
| 78 |
#set($cancellationButtonId = "storeOrderCancellationButton")
|
78 |
#set($cancellationButtonId = "storeOrderCancellationButton")
|
| 79 |
<div id="cancel-store-order-div" class="hidden">
|
79 |
<div id="cancel-store-order-div" class="hidden">
|
| 80 |
<form id="cancel-store-order-form">
|
80 |
<form id="cancel-store-order-form">
|
| 81 |
<div>
|
81 |
<div style='margin:10px;padding:10px;border-bottom:1px solid black;'>
|
| 82 |
Cash refund amount: <input type='text' style='width:150px;border:1px solid #777777;color:#999999;height:25px;padding:3px 5px;font-size:15px;' value='$action.getCashAmount()'></input>
|
82 |
Cash refund amount: <input name='cashAmount' type='text' style='width:150px;border:1px solid #777777;color:#999999;height:17px;padding:3px 5px;font-size:15px;' value='$action.getCashAmount()'></input><br>
|
| 83 |
Card refund amount: <input type='text' style='width:150px;border:1px solid #777777;color:#999999;height:25px;padding:3px 5px;font-size:15px;' value='$action.getCardAmount()'></input>
|
83 |
Card refund amount: <input name='cardAmount' type='text' style='width:150px;border:1px solid #777777;color:#999999;height:17px;padding:3px 5px;font-size:15px;' value='$action.getCardAmount()'></input>
|
| 84 |
</div>
|
84 |
</div>
|
| 85 |
<table class="display">
|
85 |
<table class="display">
|
| 86 |
#foreach($item in $action.getCODCancelMatrix())
|
86 |
#foreach($item in $action.getCODCancelMatrix())
|
| 87 |
#if($velocityCount % 2 != 0)
|
87 |
#if($velocityCount % 2 != 0)
|
| 88 |
<tr >
|
88 |
<tr >
|
| Line 90... |
Line 90... |
| 90 |
<td>
|
90 |
<td>
|
| 91 |
#if($item.name().equals("INVALID_CONTACT_DETAILS"))
|
91 |
#if($item.name().equals("INVALID_CONTACT_DETAILS"))
|
| 92 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" checked />
|
92 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" checked />
|
| 93 |
#else
|
93 |
#else
|
| 94 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" />
|
94 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" />
|
| 95 |
#end
|
95 |
#end
|
| - |
|
96 |
<label title="$item.getDescription()">$item.name()</label>
|
| 96 |
</td>
|
97 |
</td>
|
| 97 |
#if($velocityCount % 2 == 0)
|
98 |
#if($velocityCount % 2 == 0)
|
| 98 |
</ tr>
|
99 |
</ tr>
|
| 99 |
#end
|
100 |
#end
|
| 100 |
#end
|
101 |
#end
|
| 101 |
<tr >
|
102 |
<tr >
|
| 102 |
<td class="cancelReasonBox" colspan="2">
|
103 |
<td id="cancelReasonBox" colspan="2">
|
| 103 |
<textarea name="body" rows="5" cols="80" id="cancel-store-order-body"></textarea>
|
104 |
<textarea name="body" rows="5" cols="80" id="cancel-store-order-body"></textarea>
|
| 104 |
</td>
|
105 |
</td>
|
| 105 |
</tr>
|
106 |
</tr>
|
| 106 |
<tr >
|
107 |
<tr >
|
| 107 |
<td colspan="2">
|
108 |
<td colspan="2">
|
| Line 119... |
Line 120... |
| 119 |
#if($velocityCount % 2 != 0)
|
120 |
#if($velocityCount % 2 != 0)
|
| 120 |
<tr >
|
121 |
<tr >
|
| 121 |
#end
|
122 |
#end
|
| 122 |
<td>
|
123 |
<td>
|
| 123 |
#if($item.name().equals("INVALID_CONTACT_DETAILS"))
|
124 |
#if($item.name().equals("INVALID_CONTACT_DETAILS"))
|
| 124 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" checked />
|
125 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" checked="checked" />
|
| 125 |
#elseif($item.name().equals("OUT_OF_STOCK") || $item.name().equals("COLOR_OUT_OF_STOCK"))
|
- |
|
| 126 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" disabled="true"/>
|
- |
|
| 127 |
#else
|
126 |
#else
|
| 128 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" />
|
127 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" />
|
| 129 |
#end
|
128 |
#end
|
| 130 |
#if($item.name().equals("OUT_OF_STOCK") || $item.name().equals("COLOR_OUT_OF_STOCK"))
|
- |
|
| 131 |
<label title="$item.getDescription()"><strike>$item.name()</strike></label>
|
- |
|
| 132 |
#else
|
- |
|
| 133 |
<label title="$item.getDescription()">$item.name()</label>
|
129 |
<label title="$item.getDescription()">$item.name()</label>
|
| 134 |
#end
|
- |
|
| 135 |
</td>
|
130 |
</td>
|
| 136 |
#if($velocityCount % 2 == 0)
|
131 |
#if($velocityCount % 2 == 0)
|
| 137 |
</ tr>
|
132 |
</ tr>
|
| 138 |
#end
|
133 |
#end
|
| 139 |
#end
|
134 |
#end
|
| 140 |
<tr >
|
135 |
<tr >
|
| 141 |
<td class="cancelReasonBox" colspan="2">
|
136 |
<td id="cancelReasonBox" colspan="2">
|
| 142 |
<textarea name="body" rows="5" cols="80" class="cancel-body"></textarea>
|
137 |
<textarea name="body" rows="5" cols="80" id="cancel-body"></textarea>
|
| 143 |
</td>
|
138 |
</td>
|
| 144 |
</tr>
|
139 |
</tr>
|
| 145 |
<tr >
|
140 |
<tr >
|
| 146 |
<td colspan="2">
|
141 |
<td colspan="2">
|
| 147 |
<input type="submit" value="Cancel Order"/>
|
142 |
<input type="submit" value="Cancel Order"/>
|
| 148 |
</td>
|
143 |
</td>
|
| 149 |
</tr>
|
144 |
</tr>
|
| 150 |
</table>
|
145 |
</table>
|
| 151 |
</form>
|
146 |
</form>
|
| 152 |
</div>
|
147 |
</div>
|
| 153 |
<div id="cancel-div-limited" class="hidden">
|
- |
|
| 154 |
<form id="cancel-form-limited">
|
- |
|
| 155 |
<table class="display">
|
- |
|
| 156 |
#foreach($item in $action.getCODCancelMatrix())
|
- |
|
| 157 |
#if($velocityCount % 2 != 0)
|
- |
|
| 158 |
<tr >
|
- |
|
| 159 |
#end
|
- |
|
| 160 |
<td>
|
- |
|
| 161 |
#if($item.name().equals("OUT_OF_STOCK") || $item.name().equals("COLOR_OUT_OF_STOCK") || $item.name().equals("OTHER"))
|
- |
|
| 162 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()">
|
- |
|
| 163 |
#else
|
- |
|
| 164 |
<input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" disabled="true"/>
|
- |
|
| 165 |
#end
|
- |
|
| 166 |
#if($item.name().equals("OUT_OF_STOCK") || $item.name().equals("COLOR_OUT_OF_STOCK") || $item.name().equals("OTHER"))
|
- |
|
| 167 |
<label title="$item.getDescription()">$item.name()</label>
|
- |
|
| 168 |
#else
|
- |
|
| 169 |
<label title="$item.getDescription()"><strike>$item.name()</strike></label>
|
- |
|
| 170 |
#end
|
- |
|
| 171 |
</td>
|
- |
|
| 172 |
#if($velocityCount % 2 == 0)
|
- |
|
| 173 |
</ tr>
|
- |
|
| 174 |
#end
|
- |
|
| 175 |
#end
|
- |
|
| 176 |
<tr >
|
- |
|
| 177 |
<td class="cancelReasonBox" colspan="2">
|
- |
|
| 178 |
<textarea name="body" rows="5" cols="80" class="cancel-body"></textarea>
|
- |
|
| 179 |
</td>
|
- |
|
| 180 |
</tr>
|
- |
|
| 181 |
<tr >
|
- |
|
| 182 |
<td colspan="2">
|
- |
|
| 183 |
<input type="submit" value="Cancel Order"/>
|
- |
|
| 184 |
</td>
|
- |
|
| 185 |
</tr>
|
- |
|
| 186 |
</table>
|
- |
|
| 187 |
</form>
|
- |
|
| 188 |
</div>
|
- |
|
| 189 |
#end
|
148 |
#end
|
| 190 |
<div>
|
149 |
<div>
|
| 191 |
<select id = "cancellationInitiator" name="cancellationInitiator">
|
150 |
<select id = "cancellationInitiator" name="cancellationInitiator">
|
| 192 |
<option value="CUSTOMER">CUSTOMER REQUEST</option>
|
151 |
<option value="CUSTOMER">CUSTOMER REQUEST</option>
|
| 193 |
#if($action.canViewOrderCancellation())
|
152 |
#if($action.canViewOrderCancellation())
|