Subversion Repositories SmartDukaan

Rev

Rev 31373 | Rev 32976 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30164 manish 1
<section class="wrapper">            
2
	<div class="row">
3
		<div class="col-lg-12">
32771 raveendra. 4
			<h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("reportspricedrop.pricedrops")
30164 manish 5
			</h3>
6
			<ol class="breadcrumb">
32771 raveendra. 7
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportspricedrop.home")</a></li>
8
				<li><i class="icon_document_alt"></i>#springMessage("reportspricedrop.pricedrops")
30164 manish 9
</li>						  	
10
			</ol>
11
		</div>
12
	</div>
13
	<div class="row col-lg-12"  style="float: right;">
14
 
15
 
16
 
32771 raveendra. 17
		  #springMessage("reportspricedrop.from")  <input type="date" id="startDate-price-drop-report" placeholder=""   name="" value="$startDate" >
30164 manish 18
 
32771 raveendra. 19
		   #springMessage("reportspricedrop.to") <input type="date" id="endDate-price-drop-report" placeholder=""  value="$endDate">
30164 manish 20
 
32771 raveendra. 21
			<button type="submit" class="download-price-drop-report">#springMessage("reportspricedrop.downloadreport") </button>
30164 manish 22
		</div>
23
    <div class="col-lg-12">
24
        <table class="table table-border table-condensed table-bordered" id="priceDropReportTbl" style="width:100%">
25
 
26
            <thead class="row htable" style="background:#F5F5F5;">
27
            <tr style="color:black;">
28
 
32771 raveendra. 29
                     <th>#springMessage("reportspricedrop.code")</th>
30
                     <th>#springMessage("reportspricedrop.pricedropid")</th>
31
                    <th>#springMessage("reportspricedrop.brand")</th>
32
	                 <th>#springMessage("reportspricedrop.modelname")</th>
30164 manish 33
 
32771 raveendra. 34
	                 <th>#springMessage("reportspricedrop.modelnumber")</th>
35
	                 <th>#springMessage("reportspricedrop.affectedon")</th>
36
                     <th>#springMessage("reportspricedrop.amount")</th>
37
	                 <th>#springMessage("reportspricedrop.partnerpayout")</th>
30164 manish 38
 
32771 raveendra. 39
	                 <th>#springMessage("reportspricedrop.imei")</th>
40
	                 <th>#springMessage("reportspricedrop.status")</th>
41
	                 <th>#springMessage("reportspricedrop.processedon")</th>
42
	                 <th>#springMessage("reportspricedrop.reason")</th>
30164 manish 43
 
44
 
45
              </tr>
46
            </thead>
47
            <tbody>
48
                #foreach($pdr in $priceDropReports )
49
               <tr>
50
                    <td>$pdr.getCode()</td>
51
                    <td>$pdr.getId()</td>
52
                    <td>$pdr.getBrand()</td>
53
                     <td>$pdr.getModelName()</td>
54
 
55
                    <td>$pdr.getModelNumber()</td>
31373 tejbeer 56
                    <td>$pdr.getAffectedOn().format($dateTimeFormatter)</td>
30164 manish 57
                    <td>$pdr.getAmount()</td>
58
                     <td>$pdr.getPartnerPayout()</td>
59
 
60
                    <td>$pdr.getImei()</td>
61
                    <td>$pdr.getStatus()</td>
62
 
63
                    #if($pdr.getUpdateTimeStamp())
30183 manish 64
                    <td>$pdr.getUpdateTimeStamp().format($datehiphenFormatter)</td>
30164 manish 65
                    #else
66
                    <td>-- </td>
67
                    #end
68
 
69
                    #if($pdr.getRejectionReason())
70
                    <td>$pdr.getRejectionReason()</td>
71
 
72
                    #else
73
                    <td>-- </td>
74
                    #end
75
 
76
               </tr>
77
                #end
78
 
79
            </tbody>
80
 
81
        </table>
82
    </div>
83
 
84
</section>
85
 
86
 
87
 
88
<script>
89
 
90
        var dtable = $('#priceDropReportTbl').DataTable(
91
                {
92
                    "scrollX": true,
93
                    "bPaginate": true,
94
                    "bLengthChange": true,
95
                    "bFilter": true,
96
                    "bInfo": false,
97
                    "bAutoWidth": false,
98
 
99
 
100
     });
101
 
102
 
103
 
104
    </script>
105