Subversion Repositories SmartDukaan

Rev

Rev 32771 | Rev 33067 | 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>
32976 shampa 62
 
30164 manish 63
 
32976 shampa 64
                    #if($pdr.getUpdateTimestamp())
65
                    <td>$pdr.getUpdateTimestamp().format($datehiphenFormatter)</td>
30164 manish 66
                    #else
67
                    <td>-- </td>
68
                    #end
69
 
70
                    #if($pdr.getRejectionReason())
71
                    <td>$pdr.getRejectionReason()</td>
72
 
73
                    #else
74
                    <td>-- </td>
75
                    #end
76
 
77
               </tr>
78
                #end
79
 
80
            </tbody>
81
 
82
        </table>
83
    </div>
84
 
85
</section>
86
 
87
 
88
 
89
<script>
90
 
91
        var dtable = $('#priceDropReportTbl').DataTable(
92
                {
93
                    "scrollX": true,
94
                    "bPaginate": true,
95
                    "bLengthChange": true,
96
                    "bFilter": true,
97
                    "bInfo": false,
98
                    "bAutoWidth": false,
99
 
100
 
101
     });
102
 
103
 
104
 
105
    </script>
106