| Line 1... |
Line 1... |
| 1 |
<section class="wrapper">
|
1 |
<section class="wrapper">
|
| 2 |
<div class="row">
|
2 |
<div class="row">
|
| 3 |
<div class="col-lg-12">
|
3 |
<div class="col-lg-12">
|
| 4 |
<h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("reportsschemepayout.schemepayoutreport")</h3>
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>#springMessage(
|
| - |
|
5 |
"reportsschemepayout.schemepayoutreport")</h3>
|
| 5 |
<ol class="breadcrumb">
|
6 |
<ol class="breadcrumb">
|
| 6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportsschemepayout.home")</a></li>
|
7 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage(
|
| - |
|
8 |
"reportsschemepayout.home")</a></li>
|
| 7 |
<li><i class="icon_document_alt"></i>#springMessage("reportsschemepayout.schemepayoutreport")</li>
|
9 |
<li><i class="icon_document_alt"></i>#springMessage("reportsschemepayout.schemepayoutreport")</li>
|
| 8 |
</ol>
|
10 |
</ol>
|
| 9 |
</div>
|
11 |
</div>
|
| 10 |
</div>
|
12 |
</div>
|
| 11 |
|
13 |
|
| 12 |
#if($isAdmin)
|
14 |
#if($isAdmin)
|
| 13 |
<div class="row col-lg-12" style="float: right;">
|
15 |
<div class="row col-lg-12" style="float: right;">
|
| 14 |
<div class="col-lg-2">
|
16 |
<div class="col-lg-2">
|
| 15 |
<div class="input-group">
|
17 |
<div class="input-group">
|
| - |
|
18 |
<input placeholder="Partner Name" type="text" class="typeahead form-control" id="typeaheadpartner"
|
| 16 |
<input placeholder="Partner Name" type="text" class="typeahead form-control" id="typeaheadpartner" name="Item" data-provide="typeahead" autocomplete="off" style="margin-bottom:10px;margin-left:22px;"> <input id="partnerId" type="hidden" >
|
19 |
name="Item" data-provide="typeahead" autocomplete="off"
|
| - |
|
20 |
style="margin-bottom:10px;margin-left:22px;"> <input id="partnerId" type="hidden">
|
| 17 |
|
21 |
|
| 18 |
|
22 |
|
| 19 |
<span class="input-group-btn">
|
23 |
<span class="input-group-btn">
|
| 20 |
##<button class="btn btn-primary submit" id="retailer-details-search-button"
|
24 |
##<button class="btn btn-primary submit" id="retailer-details-search-button"
|
| 21 |
## type="button">Go!</button>
|
25 |
## type="button">Go!</button>
|
| 22 |
</span>
|
26 |
</span>
|
| 23 |
</div>
|
27 |
</div>
|
| 24 |
</div>
|
28 |
</div>
|
| 25 |
</div>
|
29 |
</div>
|
| 26 |
#end
|
30 |
#end
|
| 27 |
|
31 |
|
| 28 |
<div class="row col-lg-12" style="float: right;">
|
32 |
<div class="row col-lg-12" style="float: right;">
|
| 29 |
|
33 |
|
| 30 |
|
34 |
|
| 31 |
#springMessage("reportsschemepayout.from") <input type="date" id="startDate-scheme-payout" placeholder="" name="" value="$startDate">
|
35 |
#springMessage("reportsschemepayout.from") <input type="date" id="startDate-scheme-payout" placeholder=""
|
| - |
|
36 |
name="" value="$startDate">
|
| 32 |
|
37 |
|
| 33 |
#springMessage("reportsschemepayout.to") <input type="date" id="endDate-scheme-payout" placeholder="" value="$endDate">
|
38 |
#springMessage("reportsschemepayout.to") <input type="date" id="endDate-scheme-payout" placeholder=""
|
| - |
|
39 |
value="$endDate">
|
| 34 |
<button type="submit" class="scheme-payout-fetch-report">#springMessage("reportsschemepayout.fetchreport")</button>
|
40 |
<button type="submit" class="scheme-payout-fetch-report">#springMessage(
|
| - |
|
41 |
"reportsschemepayout.fetchreport")</button>
|
| 35 |
<button type="submit" class="download-scheme-payout-report">#springMessage("reportsschemepayout.downloadreport")</button>
|
42 |
<button type="submit" class="download-scheme-payout-report">#springMessage(
|
| - |
|
43 |
"reportsschemepayout.downloadreport")</button>
|
| 36 |
|
44 |
|
| 37 |
</div>
|
45 |
</div>
|
| 38 |
|
46 |
|
| 39 |
<div class="col-lg-12">
|
47 |
<div class="col-lg-12">
|
| 40 |
<table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable"
|
48 |
<table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable"
|
| Line 47... |
Line 55... |
| 47 |
<th>#springMessage("reportsschemepayout.brand")</th>
|
55 |
<th>#springMessage("reportsschemepayout.brand")</th>
|
| 48 |
<th>#springMessage("reportsschemepayout.modelname") </th>
|
56 |
<th>#springMessage("reportsschemepayout.modelname") </th>
|
| 49 |
<th>#springMessage("reportsschemepayout.modelnumber")</th>
|
57 |
<th>#springMessage("reportsschemepayout.modelnumber")</th>
|
| 50 |
|
58 |
|
| 51 |
<th>#springMessage("reportsschemepayout.color")</th>
|
59 |
<th>#springMessage("reportsschemepayout.color")</th>
|
| 52 |
<th> #springMessage("reportsschemepayout.schemeindp")</th>
|
60 |
<th>In DP</th>
|
| 53 |
<th>#springMessage("reportsschemepayout.schemeoutdp")</th>
|
61 |
<th>OUT DP</th>
|
| 54 |
<th>#springMessage("reportsschemepayout.schemeid")</th>
|
62 |
<th>#springMessage("reportsschemepayout.schemeid")</th>
|
| 55 |
|
63 |
|
| 56 |
<th>#springMessage("reportsschemepayout.name")</th>
|
64 |
<th>#springMessage("reportsschemepayout.name")</th>
|
| 57 |
<th>#springMessage("reportsschemepayout.type")</th>
|
65 |
<th>#springMessage("reportsschemepayout.type")</th>
|
| 58 |
<th>#springMessage("reportsschemepayout.amount")</th>
|
66 |
<th>#springMessage("reportsschemepayout.amount")</th>
|
| Line 90... |
Line 98... |
| 90 |
<td>$schemePayoutReport.getSchemeOutDp()</td>
|
98 |
<td>$schemePayoutReport.getSchemeOutDp()</td>
|
| 91 |
<td>$schemePayoutReport.getSchemeId()</td>
|
99 |
<td>$schemePayoutReport.getSchemeId()</td>
|
| 92 |
|
100 |
|
| 93 |
<td>$schemePayoutReport.getName()</td>
|
101 |
<td>$schemePayoutReport.getName()</td>
|
| 94 |
<td>$schemePayoutReport.getType()</td>
|
102 |
<td>$schemePayoutReport.getType()</td>
|
| - |
|
103 |
<td>$schemePayoutReport.getAmountType()</td>
|
| 95 |
<td>$nf.format($schemePayoutReport.getAmount())</td>
|
104 |
<td>$nf.format($schemePayoutReport.getAmount())</td>
|
| 96 |
<td>$nf.format($schemePayoutReport.getSioAmount())</td>
|
105 |
<td>$nf.format($schemePayoutReport.getSioAmount())</td>
|
| 97 |
|
106 |
|
| 98 |
<td>$schemePayoutReport.getPurchaseReference()</td>
|
107 |
<td>$schemePayoutReport.getPurchaseReference()</td>
|
| 99 |
|
108 |
|
| Line 153... |
Line 162... |
| 153 |
</script>
|
162 |
</script>
|
| 154 |
|
163 |
|
| 155 |
|
164 |
|
| 156 |
#if($isAdmin)
|
165 |
#if($isAdmin)
|
| 157 |
<script type="text/javascript">
|
166 |
<script type="text/javascript">
|
| 158 |
$(function () {
|
167 |
$(function () {
|
| 159 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
168 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
| 160 |
partnerId = selectedPartner.partnerId;
|
169 |
partnerId = selectedPartner.partnerId;
|
| 161 |
|
170 |
|
| 162 |
console.log(partnerId);
|
171 |
console.log(partnerId);
|
| 163 |
});
|
172 |
});
|
| 164 |
});
|
173 |
});
|
| 165 |
</script>
|
174 |
</script>
|
| 166 |
#end
|
175 |
#end
|
| 167 |
|
176 |
|
| 168 |
|
177 |
|