Subversion Repositories SmartDukaan

Rev

Rev 32976 | Rev 33092 | 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">
33067 shampa 20
        <button type="submit" class="price-drop-fetch-report">Fetch Report</button>
32771 raveendra. 21
			<button type="submit" class="download-price-drop-report">#springMessage("reportspricedrop.downloadreport") </button>
33067 shampa 22
 
30164 manish 23
		</div>
24
    <div class="col-lg-12">
25
        <table class="table table-border table-condensed table-bordered" id="priceDropReportTbl" style="width:100%">
26
 
27
            <thead class="row htable" style="background:#F5F5F5;">
28
            <tr style="color:black;">
29
 
32771 raveendra. 30
                     <th>#springMessage("reportspricedrop.code")</th>
31
                     <th>#springMessage("reportspricedrop.pricedropid")</th>
32
                    <th>#springMessage("reportspricedrop.brand")</th>
33
	                 <th>#springMessage("reportspricedrop.modelname")</th>
30164 manish 34
 
32771 raveendra. 35
	                 <th>#springMessage("reportspricedrop.modelnumber")</th>
36
	                 <th>#springMessage("reportspricedrop.affectedon")</th>
37
                     <th>#springMessage("reportspricedrop.amount")</th>
38
	                 <th>#springMessage("reportspricedrop.partnerpayout")</th>
30164 manish 39
 
32771 raveendra. 40
	                 <th>#springMessage("reportspricedrop.imei")</th>
41
	                 <th>#springMessage("reportspricedrop.status")</th>
42
	                 <th>#springMessage("reportspricedrop.processedon")</th>
43
	                 <th>#springMessage("reportspricedrop.reason")</th>
30164 manish 44
 
45
 
46
              </tr>
47
            </thead>
48
            <tbody>
49
                #foreach($pdr in $priceDropReports )
50
               <tr>
51
                    <td>$pdr.getCode()</td>
52
                    <td>$pdr.getId()</td>
53
                    <td>$pdr.getBrand()</td>
54
                     <td>$pdr.getModelName()</td>
55
 
56
                    <td>$pdr.getModelNumber()</td>
31373 tejbeer 57
                    <td>$pdr.getAffectedOn().format($dateTimeFormatter)</td>
30164 manish 58
                    <td>$pdr.getAmount()</td>
59
                     <td>$pdr.getPartnerPayout()</td>
60
 
61
                    <td>$pdr.getImei()</td>
62
                    <td>$pdr.getStatus()</td>
32976 shampa 63
 
30164 manish 64
 
32976 shampa 65
                    #if($pdr.getUpdateTimestamp())
66
                    <td>$pdr.getUpdateTimestamp().format($datehiphenFormatter)</td>
30164 manish 67
                    #else
68
                    <td>-- </td>
69
                    #end
70
 
71
                    #if($pdr.getRejectionReason())
72
                    <td>$pdr.getRejectionReason()</td>
73
 
74
                    #else
75
                    <td>-- </td>
76
                    #end
77
 
78
               </tr>
79
                #end
80
 
81
            </tbody>
82
 
83
        </table>
84
    </div>
85
 
86
</section>
87
 
88
 
89
 
90
<script>
91
 
92
        var dtable = $('#priceDropReportTbl').DataTable(
93
                {
94
                    "scrollX": true,
95
                    "bPaginate": true,
96
                    "bLengthChange": true,
97
                    "bFilter": true,
98
                    "bInfo": false,
99
                    "bAutoWidth": false,
100
 
101
 
102
     });
103
 
104
 
105
 
106
    </script>
107