| Line 264... |
Line 264... |
| 264 |
|
264 |
|
| 265 |
<div style="color:red">$action.getError()</div>
|
265 |
<div style="color:red">$action.getError()</div>
|
| 266 |
#if($action.getId() == "receive")
|
266 |
#if($action.getId() == "receive")
|
| 267 |
#set($orders=$action.getReceivePendingOrders())
|
267 |
#set($orders=$action.getReceivePendingOrders())
|
| 268 |
<h3>Receive Pending Orders</h3>
|
268 |
<h3>Receive Pending Orders</h3>
|
| 269 |
</br>
|
269 |
<br></br>
|
| 270 |
<table border="1">
|
270 |
<table border="1">
|
| 271 |
<tr>
|
271 |
<tr>
|
| 272 |
<th>Order Id</th>
|
272 |
<th>Order Id</th>
|
| 273 |
<th>Customer Name</th>
|
273 |
<th>Customer Name</th>
|
| 274 |
<th>Product</th>
|
274 |
<th>Product</th>
|
| Line 286... |
Line 286... |
| 286 |
<td>$order.getAirwaybill_no()</td>
|
286 |
<td>$order.getAirwaybill_no()</td>
|
| 287 |
<td>
|
287 |
<td>
|
| 288 |
<!--action="$request.getContextPath()/pickup-store"-->
|
288 |
<!--action="$request.getContextPath()/pickup-store"-->
|
| 289 |
|
289 |
|
| 290 |
<div>
|
290 |
<div>
|
| 291 |
<p>
|
291 |
<br></br>
|
| 292 |
Jacket Number<input id="jacketnumber" name="jacketnumber" value="" jacketnumber="$order.getJacket_number()" type="text" class="required">
|
292 |
Jacket Number<input id="jacketnumber" name="jacketnumber" value="" jacketnumber="$order.getJacket_number()" type="text" class="required">
|
| 293 |
<input id="orderid" name="orderid" value="$order.getId()" type="hidden">
|
293 |
<input id="orderid" name="orderid" value="$order.getId()" type="hidden">
|
| 294 |
<input id="action" name="action" value="markreceived" type="hidden">
|
294 |
<input id="action" name="action" value="markreceived" type="hidden">
|
| 295 |
<input type="submit" class="receiveform" value="Mark Received">
|
295 |
<input type="submit" class="receiveform" value="Mark Received">
|
| 296 |
<p>
|
296 |
<br></br>
|
| 297 |
</div>
|
297 |
</div>
|
| 298 |
|
298 |
|
| 299 |
</td>
|
299 |
</td>
|
| 300 |
<td><div><input id="orderid" name="orderid" value="$order.getId()" type="hidden"><input type="button" class="rejectform" onclick=openCancelDialogue($order.getId()) value="Do Not Receive"></div></td>
|
300 |
<td><div><input id="orderid" name="orderid" value="$order.getId()" type="hidden"><input type="button" class="rejectform" onclick=openCancelDialogue($order.getId()) value="Do Not Receive"></div></td>
|
| 301 |
</tr>
|
301 |
</tr>
|
| Line 341... |
Line 341... |
| 341 |
</tr>
|
341 |
</tr>
|
| 342 |
#end
|
342 |
#end
|
| 343 |
|
343 |
|
| 344 |
</table>
|
344 |
</table>
|
| 345 |
|
345 |
|
| 346 |
<br>
|
346 |
<br></br>
|
| 347 |
<br>
|
347 |
<br></br>
|
| 348 |
<br>
|
348 |
<br></br>
|
| 349 |
<form name="myform" id="myform" style="display:none" action="$request.getContextPath()/pickup-store" method="POST">
|
349 |
<form name="myform" id="myform" style="display:none" action="$request.getContextPath()/pickup-store" method="POST">
|
| 350 |
<input id="orderid" name="orderid" value="" type="hidden">
|
350 |
<input id="orderid" name="orderid" value="" type="hidden">
|
| 351 |
Jacket Number <input id="jacketnumber" name="jacketnumber" class="required" value="" type="text"><br />
|
351 |
Jacket Number <input id="jacketnumber" name="jacketnumber" class="required" value="" type="text"><br></br>
|
| 352 |
<div id="codblock" style="display:none">
|
352 |
<div id="codblock" style="display:none">
|
| 353 |
Amount Collected <input id="amount" name="amount" class="required" value="0" type="text"><br />
|
353 |
Amount Collected <input id="amount" name="amount" class="required" value="0" type="text"><br></br>
|
| 354 |
Payment Type <input type="radio" name="paymenttype" class="required" value="Cash" checked /> Cash
|
354 |
Payment Type <input type="radio" name="paymenttype" class="required" value="Cash" checked /> Cash
|
| 355 |
<input type="radio" name="paymenttype" class="required" value="Card" /> Card <br />
|
355 |
<input type="radio" name="paymenttype" class="required" value="Card" /> Card <br></br>
|
| 356 |
</div>
|
356 |
</div>
|
| 357 |
<div id="secretcodeblock" style="display:none">
|
357 |
<div id="secretcodeblock" style="display:none">
|
| 358 |
Secret Code <input id="secretcode" name="secretcode" class="required" value="" type="text"><br />
|
358 |
Secret Code <input id="secretcode" name="secretcode" class="required" value="" type="text"><br></br>
|
| 359 |
</div>
|
359 |
</div>
|
| 360 |
<div id="receiverblock" style="display:none">
|
360 |
<div id="receiverblock" style="display:none">
|
| 361 |
Receiver <input id="receiver" name="receiver" class="required" value="" type="text"><br />
|
361 |
Receiver <input id="receiver" name="receiver" class="required" value="" type="text"><br></br>
|
| 362 |
</div>
|
362 |
</div>
|
| 363 |
</b>
|
- |
|
| 364 |
<input id="action" name="action" value="markdelivered" type="hidden">
|
363 |
<input id="action" name="action" value="markdelivered" type="hidden">
|
| 365 |
<br><input type="submit" name="deliverybutton" disabled value="Mark Delivered"><br>
|
364 |
<br></br><input type="submit" name="deliverybutton" disabled value="Mark Delivered"><br></br>
|
| 366 |
</form>
|
365 |
</form>
|
| 367 |
|
366 |
|
| 368 |
|
367 |
|
| 369 |
<script type="text/javascript" charset="utf-8">
|
368 |
<script type="text/javascript" charset="utf-8">
|
| 370 |
$(function(){
|
369 |
$(function(){
|
| Line 416... |
Line 415... |
| 416 |
#end
|
415 |
#end
|
| 417 |
#end
|
416 |
#end
|
| 418 |
|
417 |
|
| 419 |
</table>
|
418 |
</table>
|
| 420 |
|
419 |
|
| 421 |
</br>
|
420 |
<br></br>
|
| 422 |
<button type="button" onclick="openDialogue($provider.getId(), #if($provider.getPickup().getValue() == 1) true #else false #end);" >Return orders for $provider.getName()</button>
|
421 |
<button type="button" onclick="openDialogue($provider.getId(), #if($provider.getPickup().getValue() == 1) true #else false #end);" >Return orders for $provider.getName()</button>
|
| 423 |
</br>
|
422 |
<br></br>
|
| 424 |
#end
|
423 |
#end
|
| 425 |
|
424 |
|
| 426 |
#elseif($action.getId() == "report")
|
425 |
#elseif($action.getId() == "report")
|
| 427 |
|
426 |
|
| 428 |
<h3>Collection Report</h3>
|
427 |
<h3>Collection Report</h3>
|
| Line 433... |
Line 432... |
| 433 |
<div class="imgTextBox textbox-image">
|
432 |
<div class="imgTextBox textbox-image">
|
| 434 |
<input type="text" class="textbox" value="" name="startDate" id="datepicker" />
|
433 |
<input type="text" class="textbox" value="" name="startDate" id="datepicker" />
|
| 435 |
</div>
|
434 |
</div>
|
| 436 |
<div class="clearBoth"></div>
|
435 |
<div class="clearBoth"></div>
|
| 437 |
</div>
|
436 |
</div>
|
| 438 |
<br/>
|
437 |
<br></br>
|
| 439 |
<div class="register-row">
|
438 |
<div class="register-row">
|
| 440 |
<label><span>End Date:</span></label>
|
439 |
<label><span>End Date:</span></label>
|
| 441 |
<div class="imgTextBox textbox-image">
|
440 |
<div class="imgTextBox textbox-image">
|
| 442 |
<input type="text" class="textbox" value="" name="endDate" id="datepicker1" />
|
441 |
<input type="text" class="textbox" value="" name="endDate" id="datepicker1" />
|
| 443 |
</div>
|
442 |
</div>
|
| 444 |
<div class="clearBoth"></div>
|
443 |
<div class="clearBoth"></div>
|
| 445 |
</div>
|
444 |
</div>
|
| 446 |
<br/>
|
445 |
<br></br>
|
| 447 |
<input id="action" name="action" value="getreport" type="hidden">
|
446 |
<input id="action" name="action" value="getreport" type="hidden">
|
| 448 |
<div>
|
447 |
<div>
|
| 449 |
<input name="submit" type="submit" value="Get Report"/>
|
448 |
<input name="submit" type="submit" value="Get Report"/>
|
| 450 |
</div>
|
449 |
</div>
|
| 451 |
</form>
|
450 |
</form>
|
| Line 486... |
Line 485... |
| 486 |
<option>Jacket number does not match.</option>
|
485 |
<option>Jacket number does not match.</option>
|
| 487 |
<option>Dispatch advice not legible.</option>
|
486 |
<option>Dispatch advice not legible.</option>
|
| 488 |
<option>Packet damaged.</option>
|
487 |
<option>Packet damaged.</option>
|
| 489 |
<option>Other</option>
|
488 |
<option>Other</option>
|
| 490 |
</select>
|
489 |
</select>
|
| 491 |
</br>
|
490 |
<br></br>
|
| 492 |
</br>
|
491 |
<br></br>
|
| 493 |
<input style="display:none" type="text" id="reason" name="reason"/>
|
492 |
<input style="display:none" type="text" id="reason" name="reason"/>
|
| 494 |
</br>
|
493 |
<br></br>
|
| 495 |
<input type="submit" value="Confirm">
|
494 |
<input type="submit" value="Confirm">
|
| 496 |
</div>
|
495 |
</div>
|
| 497 |
<div class="clearBoth"></div>
|
496 |
<div class="clearBoth"></div>
|
| 498 |
</form>
|
497 |
</form>
|
| 499 |
</div>
|
498 |
</div>
|