| Line 195... |
Line 195... |
| 195 |
<span class="bold">$action.getProductName($lineItem) $lineItem.getTotal_price()($action.convertDouble($lineItem.getQuantity()), $lineItem.getUnit_price())</span><br/>
|
195 |
<span class="bold">$action.getProductName($lineItem) $lineItem.getTotal_price()($action.convertDouble($lineItem.getQuantity()), $lineItem.getUnit_price())</span><br/>
|
| 196 |
#end
|
196 |
#end
|
| 197 |
#if($order.getPickupStoreId() == 0)
|
197 |
#if($order.getPickupStoreId() == 0)
|
| 198 |
#if($action.getAddress($order))
|
198 |
#if($action.getAddress($order))
|
| 199 |
<span class="bold">Shipping Address: </span>$action.getAddress($order)
|
199 |
<span class="bold">Shipping Address: </span>$action.getAddress($order)
|
| 200 |
#if($action.canVerifyCOD())
|
200 |
#if($action.canVerifyCOD())
|
| - |
|
201 |
<!--Start:- Added by Manish Sharma on 13 May 2013 for Change Shipping Address functionality -->
|
| - |
|
202 |
#if($order.getStatus().toString()== "COD_VERIFICATION_PENDING" || $order.getStatus().toString()=="SUBMITTED_FOR_PROCESSING" || $order.getStatus().toString()=="ACCEPTED" || $order.getStatus().toString()=="INVENTORY_LOW" ||$order.getStatus().toString()=="REJECTED" || $order.getStatus().toString()=="BILLED" )
|
| - |
|
203 |
<!--End:- Added by Manish Sharma on 13 May 2013 for Change Shipping Address functionality -->
|
| - |
|
204 |
<!-- COD_VERIFICATION_PENDING = 2, SUBMITTED_FOR_PROCESSING = 3, ACCEPTED = 4,INVENTORY_LOW = 5, REJECTED = 6, BILLED = 7 -->
|
| 201 |
<input id='changeShippingAddress' type='button' value='Change Address'><br/>
|
205 |
<input id='changeShippingAddress' type='button' value='Change Address'><br/>
|
| 202 |
#set($address = $action.getShippingAddress($order))
|
206 |
#set($address = $action.getShippingAddress($order))
|
| 203 |
<form id='shippingAddressFrm' style='display:none' action='/crm/user-order-info!changeShippingAddress'>
|
207 |
<form id='shippingAddressFrm' style='display:none' action='/crm/user-order-info!changeShippingAddress'>
|
| 204 |
Address line 1 : <input style='width:350px;' type='text' name='line1' value='$address.getLine1()'><br>
|
208 |
Address line 1 : <input style='width:350px;' type='text' name='line1' value='$address.getLine1()'><br>
|
| 205 |
Address line 2 : <input style='width:350px;' type='text' name='line2' value='$address.getLine2()'><br>
|
209 |
Address line 2 : <input style='width:350px;' type='text' name='line2' value='$address.getLine2()'><br>
|
| 206 |
City : <input type='text' name='city' value='$address.getCity()'><br>
|
210 |
City : <input type='text' name='city' value='$address.getCity()'><br>
|
| 207 |
State : <input type='text' name='state' value='$address.getState()'><br>
|
211 |
State : <input type='text' name='state' value='$address.getState()'><br>
|
| 208 |
Pincode : <input type='text' name='pin' value='$address.getPin()'><br>
|
212 |
Pincode : <input type='text' name='pin' value='$address.getPin()'><br>
|
| 209 |
<input id='submitNewAddress' orderId='$order.getId()' type='button' value='Change Address'><input id='cancelAddressChange' type='button' value='Cancel'>
|
213 |
<input id='submitNewAddress' orderId='$order.getId()' type='button' value='Change Address'><input id='cancelAddressChange' type='button' value='Cancel'>
|
| 210 |
</form>
|
214 |
</form>
|
| - |
|
215 |
<!--Start:- Added/Modified by Manish Sharma on 13 May 2013 for Change Shipping Address functionality -->
|
| - |
|
216 |
#end
|
| - |
|
217 |
<!--End:- Added/Modified by Manish Sharma on 13 May 2013 for Change Shipping Address functionality -->
|
| 211 |
#end
|
218 |
#end
|
| 212 |
#end
|
219 |
#end
|
| 213 |
|
220 |
|
| 214 |
#else
|
221 |
#else
|
| 215 |
<span class="bold">Store Shipping Address: </span>$action.getShippingAddressOfStore($order.getPickupStoreId())<br/>
|
222 |
<span class="bold">Store Shipping Address: </span>$action.getShippingAddressOfStore($order.getPickupStoreId())<br/>
|