| 23819 |
govind |
1 |
<style>
|
|
|
2 |
|
|
|
3 |
.btn:hover{
|
|
|
4 |
color: grey;
|
|
|
5 |
text-decoration: none;
|
|
|
6 |
}
|
|
|
7 |
.btn-info:hover{
|
|
|
8 |
color: grey;
|
|
|
9 |
text-decoration: none;
|
|
|
10 |
}
|
|
|
11 |
}
|
|
|
12 |
</style>
|
|
|
13 |
<section class="wrapper">
|
|
|
14 |
<div class="row">
|
|
|
15 |
<div class="col-lg-12">
|
|
|
16 |
<h3 class="page-header"><i class="icon_document_alt"></i>PriceDrop</h3>
|
|
|
17 |
<ol class="breadcrumb">
|
|
|
18 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
19 |
<li><i class="icon_document_alt"></i>PriceDrop</li>
|
|
|
20 |
</ol>
|
|
|
21 |
</div>
|
|
|
22 |
</div>
|
|
|
23 |
|
|
|
24 |
<div class="price-drop-table">
|
|
|
25 |
<div class="row">
|
|
|
26 |
<div class="col-lg-12" id="priceDrop" >
|
|
|
27 |
<table class="table table-striped table-condensed table-bordered">
|
|
|
28 |
<thead>
|
|
|
29 |
<tr>
|
|
|
30 |
<th>ItemId</th>
|
|
|
31 |
<th>ItemDescription</th>
|
|
|
32 |
<th>PriceDrop<br/>Amount</th>
|
|
|
33 |
<th>AffetcedOn</th>
|
|
|
34 |
<th>Cashback<br/>Amount</th>
|
|
|
35 |
<th>Process</th>
|
|
|
36 |
<th>Download<br/>IMEI<br/>For<br/>Partners</th>
|
|
|
37 |
<th>Download<br/>All<br/>IMEI</th>
|
|
|
38 |
|
|
|
39 |
</tr>
|
|
|
40 |
</thead>
|
|
|
41 |
<tbody>
|
|
|
42 |
#foreach($priceDrop in $priceDrops )
|
|
|
43 |
<tr>
|
|
|
44 |
<td>$priceDrop.getItemId()</td>
|
|
|
45 |
<td>$itemIdDescriptions.get($priceDrop.getItemId())</td>
|
|
|
46 |
<td>$priceDrop.getAmount()</td>
|
|
|
47 |
<td>$priceDrop.getAffectedon()</td>
|
|
|
48 |
#if($priceDrop.getProcessTimestamp())
|
|
|
49 |
<td>$priceDrop.getCashbackAmount()</td>
|
|
|
50 |
<td>$priceDrop.getDate($priceDrop.getProcessTimestamp())</td>
|
|
|
51 |
#else
|
|
|
52 |
<td><div><input type="number" id="$priceDrop.getId()" name="processedamount" placeholder = "$priceDrop.getAmount()" class="form-control phone input-sm"/>
|
|
|
53 |
<input class="btn btn-info btn-sm" data-cashback="$priceDrop.getId()" style="width:35%;border-radius:0px;" type="submit" value="Cashback" id="cashTopartner"/>
|
|
|
54 |
</div></td>
|
|
|
55 |
<td>Not Processed</td>
|
|
|
56 |
|
|
|
57 |
#end
|
|
|
58 |
<td><input class="btn btn-info btn-sm" data-download="$priceDrop.getId()" style="width:100%;border-radius:0px;" type="submit" value="Download" id="download"/></td>
|
|
|
59 |
<td><input class="btn btn-info btn-sm" data-pricedropidfortotalimei="$priceDrop.getId()" style="width:100%;border-radius:0px;" value="Download" type="submit" id="downloadtotalIMEI"/></td>
|
|
|
60 |
</tr>
|
|
|
61 |
#end
|
|
|
62 |
</tbody>
|
|
|
63 |
</table>
|
|
|
64 |
</div>
|
|
|
65 |
</div>
|
|
|
66 |
</div>
|
|
|
67 |
</section>
|
|
|
68 |
|
|
|
69 |
<script type="text/javascript">
|
|
|
70 |
$(document).ready(function() {
|
|
|
71 |
priceDropTable = $('#priceDrop').find('table').DataTable({
|
|
|
72 |
"pageLength": 10,
|
|
|
73 |
order:[[ 5, 'desc' ]]
|
|
|
74 |
});
|
|
|
75 |
});
|
|
|
76 |
</script>
|