| 33010 |
shampa |
1 |
<section class="wrapper">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12">
|
|
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("reportsofferpayoutdump.offerpayoutdumpreport")</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
|
|
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportsofferpayoutdump.home")</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>#springMessage("reportsofferpayoutdump.offerpayoutdumpreport")</li>
|
|
|
8 |
</ol>
|
|
|
9 |
</div>
|
|
|
10 |
</div>
|
| 33091 |
shampa |
11 |
#if($isAdmin)
|
|
|
12 |
<div class="row col-lg-12" style="float: right;">
|
|
|
13 |
<div class="col-lg-2">
|
|
|
14 |
<div class="input-group">
|
| 33097 |
shampa |
15 |
<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">
|
| 33091 |
shampa |
16 |
|
|
|
17 |
<br>
|
|
|
18 |
<span class="input-group-btn">
|
|
|
19 |
##<button class="btn btn-primary submit" id="retailer-details-search-button"
|
|
|
20 |
## type="button">Go!</button>
|
|
|
21 |
</span>
|
|
|
22 |
</div>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
#end
|
| 33010 |
shampa |
26 |
<div class="row col-lg-12" style="float: right;">
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
#springMessage("reportsofferpayoutdump.from") <input type="date" id="startDate-offer-payout-dump" placeholder="" name="" value="$startDate">
|
|
|
30 |
|
|
|
31 |
#springMessage("reportsofferpayoutdump.to") <input type="date" id="endDate-offer-payout-dump" placeholder="" value="$endDate">
|
| 33091 |
shampa |
32 |
<button type="submit" class="offer-payout-fetch-report">#springMessage("reportsofferpayoutdump.fetchreport")</button>
|
|
|
33 |
<button type="submit" class="download-offer-payout-dump-report">#springMessage("reportsofferpayoutdump.downloadreport")</button>
|
| 33010 |
shampa |
34 |
|
|
|
35 |
</div>
|
|
|
36 |
|
|
|
37 |
<div class="col-lg-12">
|
|
|
38 |
<table class="table table-border table-condensed table-bordered" id="offerPayoutDumpReportDtable"
|
|
|
39 |
style="width:100%">
|
|
|
40 |
|
|
|
41 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
42 |
<tr style="color:black;">
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
<th>Model Name </th>
|
|
|
47 |
<th>Model Number</th>
|
|
|
48 |
<th>Brand</th>
|
|
|
49 |
|
|
|
50 |
<th>Color</th>
|
|
|
51 |
|
|
|
52 |
<th>Offer Id</th>
|
|
|
53 |
|
|
|
54 |
<th>Name</th>
|
|
|
55 |
<th>Type</th>
|
|
|
56 |
<th>Serial Number</th>
|
|
|
57 |
<th>Slab Amount</th>
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
<th>Description</th>
|
|
|
67 |
<th>Created Timestamp</th>
|
|
|
68 |
<th>Rejected Timestamp</th>
|
|
|
69 |
|
|
|
70 |
</tr>
|
|
|
71 |
</thead>
|
|
|
72 |
<tbody>
|
|
|
73 |
#foreach($offerPayoutDumpReport in $offerPayoutDumpReports )
|
|
|
74 |
<tr>
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
<td>$offerPayoutDumpReport.getModelName()</td>
|
|
|
79 |
<td>$offerPayoutDumpReport.getModelNumber()</td>
|
|
|
80 |
<td>$offerPayoutDumpReport.getBrand()</td>
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
<td>$offerPayoutDumpReport.getColor()</td>
|
|
|
84 |
|
|
|
85 |
<td>$offerPayoutDumpReport.getOfferId()</td>
|
|
|
86 |
|
|
|
87 |
<td>$offerPayoutDumpReport.getName()</td>
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
<td>$offerPayoutDumpReport.getType()</td>
|
|
|
91 |
|
|
|
92 |
#if($offerPayoutDumpReport.getSerialNumber())
|
|
|
93 |
<td> $offerPayoutDumpReport.getSerialNumber()</td>
|
|
|
94 |
#else
|
|
|
95 |
|
|
|
96 |
<td>--</td>
|
|
|
97 |
#end
|
|
|
98 |
<td>$offerPayoutDumpReport.getSlabAmount()</td>
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
#if($offerPayoutDumpReport.getDescription())
|
|
|
105 |
<td>$offerPayoutDumpReport.getDescription()</td>
|
|
|
106 |
|
|
|
107 |
#else
|
|
|
108 |
<td>--</td>
|
|
|
109 |
#end
|
|
|
110 |
<td>$offerPayoutDumpReport.getCreateTimestamp().format($datehiphenFormatter)</td>
|
|
|
111 |
|
|
|
112 |
#if($offerPayoutDumpReport.getRejectTimestamp())
|
|
|
113 |
|
|
|
114 |
<td>$offerPayoutDumpReport.getRejectTimestamp().format($datehiphenFormatter)</td>
|
|
|
115 |
#else
|
|
|
116 |
<td> --</td>
|
|
|
117 |
#end
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
</tr>
|
|
|
121 |
#end
|
|
|
122 |
|
|
|
123 |
</tbody>
|
|
|
124 |
|
|
|
125 |
</table>
|
|
|
126 |
</div>
|
|
|
127 |
|
|
|
128 |
</section>
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
<script>
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
var dtable = $('#offerPayoutDumpReportDtable').DataTable(
|
|
|
135 |
{
|
|
|
136 |
"scrollX": true,
|
|
|
137 |
"bPaginate": true,
|
|
|
138 |
"bLengthChange": true,
|
|
|
139 |
"bFilter": true,
|
|
|
140 |
"bInfo": false,
|
|
|
141 |
"bAutoWidth": false,
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
});
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
</script>
|
| 33091 |
shampa |
148 |
#if($isAdmin)
|
|
|
149 |
<script type="text/javascript">
|
|
|
150 |
$(function () {
|
|
|
151 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
|
|
152 |
partnerId = selectedPartner.partnerId;
|
|
|
153 |
|
|
|
154 |
console.log(partnerId);
|
|
|
155 |
});
|
|
|
156 |
});
|
|
|
157 |
</script>
|
|
|
158 |
#end
|