| 12653 |
manish.sha |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Saholic Bulk Order Billing</title>
|
|
|
4 |
<script src="/Support/js/jquery-1.5.1.min.js"></script>
|
|
|
5 |
<link type = "text/css" href = "/Support/css/pincode.css" rel = "stylesheet"/>
|
|
|
6 |
<link type = "text/css" href = "/Support/css/colorbox.css" rel = "stylesheet"/>
|
|
|
7 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
|
|
8 |
<script type="text/javascript" src="/Support/js/jquery.colorbox-min.js"></script>
|
|
|
9 |
<script type = "text/javascript" src = "/Support/js/bulk-order-billing.js"></script>
|
|
|
10 |
<script language="JavaScript">
|
|
|
11 |
function disableEnterKey(e)
|
|
|
12 |
{
|
|
|
13 |
var key;
|
|
|
14 |
if(window.event)
|
|
|
15 |
key = window.event.keyCode; //IE
|
|
|
16 |
else
|
|
|
17 |
key = e.which; //firefox
|
|
|
18 |
|
|
|
19 |
return (key != 13);
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
function setFileName(){
|
|
|
23 |
var fileN1 = $('#bulkBillingFile').val();
|
|
|
24 |
var fileName = fileN1.substring(fileN1.lastIndexOf('\\')+1);
|
|
|
25 |
$('#fileNameVal').val(fileName);
|
|
|
26 |
return true;
|
|
|
27 |
}
|
|
|
28 |
</script>
|
|
|
29 |
</head>
|
|
|
30 |
<body>
|
|
|
31 |
<h3>Saholic Bulk Order Billing</h3>
|
|
|
32 |
#set($errorMsg=$action.getErrorMsg())
|
|
|
33 |
#if(!$errorMsg.isEmpty())
|
|
|
34 |
<div style="color:red">
|
|
|
35 |
<span>$errorMsg</span>
|
|
|
36 |
</div>
|
|
|
37 |
#end
|
|
|
38 |
|
|
|
39 |
#set($successMsg=$action.getSuccessMessage())
|
|
|
40 |
#if(!$successMsg.isEmpty())
|
|
|
41 |
<div style="color:blue">
|
|
|
42 |
<span>$successMsg</span>
|
|
|
43 |
</div>
|
|
|
44 |
#end
|
|
|
45 |
|
|
|
46 |
<form id = 'bulkOrderBillingForm' action="$request.getContextPath()/bulk-order-billing/" enctype="multipart/form-data" method="post" onsubmit="return setFileName()" >
|
|
|
47 |
<span>Order Ids (Seperated by Comma) : </span>
|
|
|
48 |
<input name="orderIds" type="text" id="orderIds"/>
|
|
|
49 |
<br>
|
|
|
50 |
<span> Select File : </span>
|
|
|
51 |
<input type="file" id="bulkBillingFile" name="bulkBillingFile"/>
|
|
|
52 |
<br>
|
|
|
53 |
<input type="hidden" id="fileNameVal" name="fileNameVal" value=""/>
|
|
|
54 |
<input type = "submit" value = "Submit" id = "bulkOrderBillingSubmit"/>
|
|
|
55 |
</form>
|
|
|
56 |
<a class = "link-requiring-orderid-for-invoice" href="/Support/bulk-order-billing!downloadInvoice">Download Invoice</a>
|
|
|
57 |
</div>
|
|
|
58 |
</body>
|
|
|
59 |
</html>
|