| 749 |
chandransh |
1 |
<head>
|
|
|
2 |
<title>Saholic Logistics Support</title>
|
| 1075 |
chandransh |
3 |
<script language="javascript" src="$action.getServletContextPath()/js/jquery-1.4.2.js" type="text/javascript"></script>
|
| 749 |
chandransh |
4 |
</head>
|
|
|
5 |
<body>
|
|
|
6 |
<div id="login" align="center">
|
| 1075 |
chandransh |
7 |
<p>
|
|
|
8 |
Welcome to Saholic Logistics Support Center.<br/>
|
|
|
9 |
Please select the location you want the details for.
|
|
|
10 |
</p>
|
|
|
11 |
<label>Warehouse:</label>
|
|
|
12 |
<select name="warehouseId" id="warehouseId">
|
|
|
13 |
#set( $warehouses = $action.getWarehouses())
|
|
|
14 |
#foreach($warehouseId in $warehouses.keySet())
|
|
|
15 |
<option value="$warehouseId" selected="$warehouseId">$warehouses.get($warehouseId)</option>
|
|
|
16 |
#end
|
|
|
17 |
</select>
|
|
|
18 |
<br/>
|
|
|
19 |
Download Report for:
|
|
|
20 |
<select name="day" id="day">
|
|
|
21 |
<option value="today">Today</option>
|
|
|
22 |
<option value="yesterday">Yesterday</option>
|
|
|
23 |
<option value="dayBefore">Day before Yesterday</option>
|
|
|
24 |
</select>
|
| 3062 |
chandransh |
25 |
<br/>
|
|
|
26 |
Payment Mode:
|
|
|
27 |
<select name="isCod" id="isCod">
|
|
|
28 |
<option value="false">Prepaid</option>
|
|
|
29 |
<option value="true">COD</option>
|
|
|
30 |
</select>
|
| 1075 |
chandransh |
31 |
<button value="Go">Go</button>
|
| 749 |
chandransh |
32 |
</div>
|
| 4386 |
anupam.sin |
33 |
<br>
|
|
|
34 |
<br>
|
|
|
35 |
<br>
|
|
|
36 |
<br>
|
|
|
37 |
<br>
|
|
|
38 |
<br>
|
|
|
39 |
<br>
|
|
|
40 |
<hr>
|
|
|
41 |
<br>
|
|
|
42 |
<br>
|
|
|
43 |
|
|
|
44 |
<div align="center">
|
|
|
45 |
To get AWB number specific report enter awb numbers separated by comma:
|
|
|
46 |
<br/>
|
|
|
47 |
AWB number(s) :
|
| 7792 |
anupam.sin |
48 |
<form id="courier-detail-by-awb" action="/Support/courier-details!getAwbDetails">
|
|
|
49 |
<input type="text" id="awbNumberBox" name="awbNumbers"></input>
|
|
|
50 |
<input id='viewAwbDetails' type="button" value="View"></input>
|
|
|
51 |
<input id='getAwbDetails' type="submit" value="Download"></input>
|
| 4386 |
anupam.sin |
52 |
</form>
|
| 7792 |
anupam.sin |
53 |
<div style="border-top: 1px dashed grey;padding: 10px 0;">OR</div>
|
|
|
54 |
<form id="courier-detail-by-awb-file" action="/Support/courier-details!getAwbDetailsByFile" enctype="multipart/form-data" method="post">
|
|
|
55 |
Upload file with AWB Numbers <input type="file" id="awbFile" name="awbFile"></input><span id='uploadMessage'></span><input id='uploadFile' type="submit" value="GET REPORT"/></input>
|
|
|
56 |
</form>
|
| 4386 |
anupam.sin |
57 |
</div>
|
| 7792 |
anupam.sin |
58 |
</div>
|
| 4386 |
anupam.sin |
59 |
<div id="infopane">
|
|
|
60 |
</div>
|
|
|
61 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
|
|
62 |
<script type="text/javascript" src="/Support/js/courier-details.js"></script>
|
| 749 |
chandransh |
63 |
<script>
|
| 1075 |
chandransh |
64 |
$('button').click(function(e){
|
| 749 |
chandransh |
65 |
e.preventDefault();
|
| 3062 |
chandransh |
66 |
window.location.href = "$request.getContextPath()/courier-details/" + $("#warehouseId option:selected").val() + "/"+ $("#day option:selected").val() + "?isCod=" + $("#isCod option:selected").val();
|
| 749 |
chandransh |
67 |
});
|
|
|
68 |
</script>
|
|
|
69 |
</body>
|