| Line 106... |
Line 106... |
| 106 |
#end
|
106 |
#end
|
| 107 |
</td>
|
107 |
</td>
|
| 108 |
|
108 |
|
| 109 |
##--------------------------CANCEL THE ORDER---------------------------------------##
|
109 |
##--------------------------CANCEL THE ORDER---------------------------------------##
|
| 110 |
<td>
|
110 |
<td>
|
| 111 |
#if($order.getStatus().getValue() > 2 && $order.getStatus().getValue() < 7 && $action.isOrderPlacedOnSameDay($order.getCreated_timestamp()))
|
111 |
#if($order.getStatus().getValue() > 2 && $order.getStatus().getValue() < 7 && $action.isOrderPlacedOnSameDay($order.getCreated_timestamp()) && $action.debitCardNotUsed($order.getId()))
|
| 112 |
<a href='/storewebsite/report!cancelRequest?orderId=$order.getId()' style='font-weight:bold;color:white;padding:3px;background-color:red;pointer:cursor;font-size:15px;text-decoration:none'>CANCEL</a>
|
112 |
<a href='/storewebsite/report!cancelRequest?orderId=$order.getId()' style='font-weight:bold;color:white;padding:3px;background-color:red;pointer:cursor;font-size:15px;text-decoration:none'>CANCEL</a>
|
| 113 |
#end
|
113 |
#end
|
| 114 |
</td>
|
114 |
</td>
|
| 115 |
</tr>
|
115 |
</tr>
|
| 116 |
#end
|
116 |
#end
|
| Line 160... |
Line 160... |
| 160 |
#end
|
160 |
#end
|
| 161 |
</td>
|
161 |
</td>
|
| 162 |
|
162 |
|
| 163 |
##--------------------------CANCEL THE ORDER---------------------------------------##
|
163 |
##--------------------------CANCEL THE ORDER---------------------------------------##
|
| 164 |
<td>
|
164 |
<td>
|
| 165 |
#if($order.getStatus().getValue() > 2 && $order.getStatus().getValue() < 7 && $action.isOrderPlacedOnSameDay($order.getCreated_timestamp()))
|
165 |
#if($order.getStatus().getValue() > 2 && $order.getStatus().getValue() < 7 && $action.isOrderPlacedOnSameDay($order.getCreated_timestamp()) && $action.debitCardNotUsed($order.getId()))
|
| 166 |
<a href='/storewebsite/report!cancelRequest?orderId=$order.getId()' style='font-weight:bold;color:white;padding:3px;background-color:red;pointer:cursor;font-size:15px;text-decoration:none'>CANCEL</a>
|
166 |
<a href='/storewebsite/report!cancelRequest?orderId=$order.getId()' style='font-weight:bold;color:white;padding:3px;background-color:red;pointer:cursor;font-size:15px;text-decoration:none'>CANCEL</a>
|
| 167 |
#end
|
167 |
#end
|
| 168 |
</td>
|
168 |
</td>
|
| 169 |
</tr>
|
169 |
</tr>
|
| 170 |
#end
|
170 |
#end
|
| Line 191... |
Line 191... |
| 191 |
<br/>
|
191 |
<br/>
|
| 192 |
|
192 |
|
| 193 |
<h3 id='statusReport'>Sales Report (Delivered Orders)</h3>
|
193 |
<h3 id='statusReport'>Sales Report (Delivered Orders)</h3>
|
| 194 |
<form style='padding:20px;border-bottom:1px solid #2789C1;' id="downloadrep" action="report" method="POST">
|
194 |
<form style='padding:20px;border-bottom:1px solid #2789C1;' id="downloadrep" action="report" method="POST">
|
| 195 |
<div>
|
195 |
<div>
|
| - |
|
196 |
Status:<select name="reportType">
|
| - |
|
197 |
<option value="0" selected="selected">ALL</option>
|
| - |
|
198 |
<option value="1">DELIVERED</option>
|
| - |
|
199 |
</select>
|
| 196 |
Date:<select name="dateselector" id="dateselector">
|
200 |
Date:<select name="dateselector" id="dateselector">
|
| 197 |
<option value="1" selected="selected">Today</option>
|
201 |
<option value="1" selected="selected">Today</option>
|
| 198 |
<option value="2">Yesterday</option>
|
202 |
<option value="2">Yesterday</option>
|
| 199 |
<option value="3">Daterange</option>
|
203 |
<option value="3">Daterange</option>
|
| 200 |
</select>
|
204 |
</select>
|