Subversion Repositories SmartDukaan

Rev

Rev 30183 | Go to most recent revision | Details | 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">
4
			<h3 class="page-header"><i class="icon_document_alt"></i>Price Drops
5
			</h3>
6
			<ol class="breadcrumb">
7
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
8
				<li><i class="icon_document_alt"></i>Price Drops
9
</li>						  	
10
			</ol>
11
		</div>
12
	</div>
13
	<div class="row col-lg-12"  style="float: right;">
14
 
15
 
16
 
17
		  From  <input type="date" id="startDate-price-drop-report" placeholder=""   name="" value="$startDate" >
18
 
19
		   To <input type="date" id="endDate-price-drop-report" placeholder=""  value="$endDate">
20
 
21
			<button type="submit" class="download-price-drop-report">Download Report </button>
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
 
29
                     <th>code</th> 
30
                     <th>Price_Drop_Id</th>
31
                    <th>brand</th>
32
	                 <th>model_name</th>
33
 
34
	                 <th>model_number</th>
35
	                 <th>affected_on</th>
36
                     <th>amount</th>
37
	                 <th>partner_payout</th>
38
 
39
	                 <th>Imei</th>
40
	                 <th>status</th>
41
	                 <th>processed_on</th>
42
	                 <th>Reason</th>
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>
56
                    <td>$pdr.getAffectedOn()</td>
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())
64
                    <td>$pdr.getUpdateTimeStamp()</td>
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