| 4600 |
varun.gupt |
1 |
<html >
|
|
|
2 |
<head>
|
|
|
3 |
<title>Vendor Specific Reconciliation Report Generator</title>
|
|
|
4 |
<style>
|
|
|
5 |
body { font-size: 12px; }
|
|
|
6 |
.form-container { float: left; margin: 20px 0 0 20px; min-width: 600px; }
|
|
|
7 |
legend { font-weight: bold; }
|
|
|
8 |
.fieldset { border: 1px solid; padding: 8px; }
|
|
|
9 |
</style>
|
|
|
10 |
</head>
|
|
|
11 |
<body>
|
|
|
12 |
#parse("../content/reports-common.vm")
|
|
|
13 |
<h2>Vendor specific Reconciliation Report Generator</h2>
|
|
|
14 |
<hr />
|
|
|
15 |
<div id="download" class="form-container">
|
|
|
16 |
<form action="/Support/vendor-reconciliation!generateReconciliationReport" method="post">
|
|
|
17 |
#set($vendors = $action.getAllVendors())
|
|
|
18 |
<fieldset>
|
|
|
19 |
<legend>Generate Reconciliation Report</legend>
|
|
|
20 |
Select a Vendor
|
|
|
21 |
#if($vendors)
|
|
|
22 |
<select name="vendor">
|
|
|
23 |
#foreach($vendor in $vendors)
|
|
|
24 |
<option value="$vendor.getId()">$vendor.getName()</option>
|
|
|
25 |
#end
|
|
|
26 |
</select><br />
|
|
|
27 |
Billing Date (<b>DD/MM/YYYY</b>) from <input type="text" name="start" size="14" />
|
|
|
28 |
to <input type="text" name="end" size="14" /><br />
|
|
|
29 |
<input type="submit" value="Download" />
|
|
|
30 |
#end
|
|
|
31 |
</fieldset>
|
|
|
32 |
</form>
|
|
|
33 |
</div>
|
|
|
34 |
<div class="form-container">
|
|
|
35 |
<div class="fieldset">
|
|
|
36 |
<legend>Upload Settlement Report</legend>
|
|
|
37 |
Report source:
|
|
|
38 |
<input type="radio" name="reportSource" value="hdfc"/> HDFC
|
|
|
39 |
<input type="radio" name="reportSource" value="ebs"/> EBS
|
|
|
40 |
<input type="radio" name="reportSource" value="bluedart"/> Bluedart
|
|
|
41 |
<br /><br />
|
|
|
42 |
<div id="hdfc">
|
|
|
43 |
<form action="" method="post" enctype="multipart/form-data">
|
|
|
44 |
<input type="hidden" name="formtype" value="uploadHDFCSettlements" />
|
|
|
45 |
Upload Settlement Report <input type="file" name="hdfcSettlementReport" /><br />
|
|
|
46 |
<input type="submit" value="Upload">
|
|
|
47 |
</form>
|
|
|
48 |
</div>
|
|
|
49 |
<div id="ebs">
|
|
|
50 |
<form action="" method="post" enctype="multipart/form-data">
|
|
|
51 |
<input type="hidden" name="formtype" value="uploadEBSSettlementSummary" />
|
|
|
52 |
Upload a new Summary Report <br />
|
|
|
53 |
<input type="file" name="ebsSettlementSummary"></input>
|
|
|
54 |
<input type="submit" value="Upload"/>
|
|
|
55 |
</form>
|
|
|
56 |
<form action="" method="post" enctype="multipart/form-data">
|
|
|
57 |
<input type="hidden" name="formtype" value="uploadEBSSettlements" />
|
|
|
58 |
#set($ebsSettlementSummaries = $action.getEBSSettlementSummaries())
|
|
|
59 |
#if($ebsSettlementSummaries && $ebsSettlementSummaries.size() > 0)
|
|
|
60 |
Payment Date Range
|
|
|
61 |
<select name="settlementId">
|
|
|
62 |
#foreach($settlementNo in $ebsSettlementSummaries.keySet())
|
|
|
63 |
<option value="$settlementNo">$ebsSettlementSummaries.get($settlementNo)</option>
|
|
|
64 |
#end
|
|
|
65 |
</select><br /><br />
|
|
|
66 |
Choose Report File <input type="file" name="ebsSettlementReport" /><br />
|
|
|
67 |
<input type="submit" value="Upload"/>
|
|
|
68 |
#end
|
|
|
69 |
</form>
|
|
|
70 |
</div>
|
|
|
71 |
<div id="bluedart">
|
|
|
72 |
<form action="" method="post" enctype="multipart/form-data">
|
|
|
73 |
<input type="hidden" name="formtype" value="uploadBluedartSettlements" />
|
|
|
74 |
Collection Date <b>(DD/MM/YYYY)</b>: <input type="text" name="bluedartSettlementDate" /><br />
|
|
|
75 |
Settlement Report <input type="file" name="bluedartSettlementReport" /><br /><br />
|
|
|
76 |
<input type="submit" value="Upload">
|
|
|
77 |
</form>
|
|
|
78 |
</div>
|
|
|
79 |
</div>
|
|
|
80 |
</div>
|
|
|
81 |
<script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
|
|
|
82 |
<script type="text/javascript">
|
|
|
83 |
$(function(){
|
|
|
84 |
$('#hdfc, #ebs, #bluedart').hide();
|
|
|
85 |
|
|
|
86 |
$('input[name="reportSource"]').click(function(){
|
|
|
87 |
$('#hdfc, #ebs, #bluedart').hide();
|
|
|
88 |
|
|
|
89 |
if($(this).val() == 'ebs') {
|
|
|
90 |
$('#ebs').show();
|
|
|
91 |
}
|
|
|
92 |
else if($(this).val() == 'bluedart') {
|
|
|
93 |
$('#bluedart').show();
|
|
|
94 |
}
|
|
|
95 |
else if($(this).val() == 'hdfc') {
|
|
|
96 |
$('#hdfc').show();
|
|
|
97 |
}
|
|
|
98 |
});
|
|
|
99 |
});
|
|
|
100 |
</script>
|
|
|
101 |
</body>
|
|
|
102 |
</html>
|