Subversion Repositories SmartDukaan

Rev

Rev 30183 | Rev 31373 | 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">
4
			<h3 class="page-header"><i class="icon_document_alt"></i>FRANCHISEE SALES REPORT</h3>
5
			<ol class="breadcrumb">
6
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
				<li><i class="icon_document_alt"></i>Franchisee Sales Report</li>						  	
8
			</ol>
9
		</div>
10
	</div>
11
		<div class="row col-lg-12"  style="float: right;">
12
 
13
 
14
 
15
		  From  <input type="date" id="startDate-franchisee-sales" placeholder=""   name="" value="$startDate" >
16
 
17
		   To <input type="date" id="endDate-franchisee-sales" placeholder=""  value="$endDate">
18
 
19
			<button type="submit" class="download-franchisee-sales">Download Report </button>
20
		</div>
21
 
22
    <div class="col-lg-12">
23
        <table class="table table-border table-condensed table-bordered" id="focoSaleReportTable" style="width:100%">
24
 
25
            <thead class="row htable" style="background:#F5F5F5;">
26
 
27
            <tr style="color:black;">
28
                    <th>  Code</th> 
29
                    <th> Name</th>
30
	                 <th> City</th>
31
	                 <th> State</th>
32
 
33
	                 <th>  Region</th>
34
	                   <th>  Item Id</th>
35
	                  <th>  Brand</th>
36
	                   <th>  Model Name</th>
37
	                   <th>  Model Number</th>
38
	                    <th>  Color</th>
39
	                    <th> Quantity</th>
40
	                    <th>  dp</th>
41
	                   <th> Selling_Price</th>
42
                       <th>   mop</th>
43
	                  <th>  Serial Number</th>
44
	                   <th>  Create Date</th>
45
	                 <th> Customer Name</th>
46
	                 <th> Customer Phone</th>
47
	                <th> Customer City</th>
48
	                <th>  Customer Pincode</th>
49
                   <th>  Invoice  Number</th>
50
	               <th> Purchase Reference</th>
51
	                <th> Customer Gst Number</th>
52
	              <th>  Cancelled Timestamp</th>
53
                   <th>  GRN Complete Date</th>
54
	              <th>  Hygiene Rating</th>
55
	                <th>  Rating</th>
56
	                <th> Status</th>
57
	                 <th> Remark</th>
58
	               <th>  Created Timestamp</th>
59
                   <th> Disposed Timestamp</th>
60
	              <th>  Next Timestamp</th>
61
                   <th>  Activation Timestamp</th>
62
                     <th> Create Timestamp</th>
63
                       <th>Label</th>
64
 
65
            </tr>
66
            </thead>
67
            <tbody>
68
                #foreach($focoSaleReport in $focoSaleReportList )
69
               <tr>
70
               <td>$focoSaleReport.getCode()</td>
71
                <td>$focoSaleReport.getName()</td>
72
                 <td>$focoSaleReport.getCity()</td>
73
                  <td>$focoSaleReport.getState()</td>
74
 
75
 
76
                   <td>$focoSaleReport.getRegion()</td>
77
                    <td>$focoSaleReport.getItemId()</td>
78
                  <td>$focoSaleReport.getBrand()</td>
79
                 <td>$focoSaleReport.getModelName()</td>
80
 
81
                  <td>$focoSaleReport.getModelNumber()</td>
82
                   <td>$focoSaleReport.getColor()</td>
83
                    <td>$focoSaleReport.getQuantity()</td>
84
                     <td>$focoSaleReport.getDp()</td>
85
 
86
                  <td>$focoSaleReport.getSellingPrice()</td>
87
                  <td>$focoSaleReport.getMop()</td>
88
 
89
                  #if($focoSaleReport.getSerialNumber())
90
                   <td>$focoSaleReport.getSerialNumber()</td>
91
                   #else
92
                   <td> -- </td>
93
                   #end
94
                    <td>$focoSaleReport.getCreateDate()</td>
95
 
96
                     <td>$focoSaleReport.getCustomerName()</td>
97
                 <td>$focoSaleReport.getCustomerPhone()</td>
98
                  <td>$focoSaleReport.getCustomerCity()</td>
99
                   <td>$focoSaleReport.getCustomerPincode()</td>
100
 
101
                    <td>$focoSaleReport.getInvoiceNumber()</td>
102
                 <td>$focoSaleReport.getPurchaseReference()</td>
103
                  <td>$focoSaleReport.getCustomerGstNumber()</td>
104
 
105
                  #if($focoSaleReport.getCancelledTimestamp())
106
                   <td>$focoSaleReport.getCancelledTimestamp()</td>
107
                  #else
108
                   <td> -- </td>
109
                  #end
30184 manish 110
                  <td>$focoSaleReport.getGrnCompleteDate().format($datehiphenFormatter)</td>
30164 manish 111
                   #if($focoSaleReport.getHygieneRating())
112
                   <td>$focoSaleReport.getHygieneRating()</td>
113
                   #else
114
                   <td>0</td>
115
                   #end
116
                  #if($focoSaleReport.getRating())
117
                  <td>$focoSaleReport.getRating()</td>
118
                  #else
119
                  <td> --</td>
120
                  #end
121
 
122
                  #if($focoSaleReport.getStatus())
123
                  <td>$focoSaleReport.getStatus()</td>
124
                  #else
125
                  <td> -- </td>
126
                  #end
127
                  #if($focoSaleReport.getRemark())
128
                   <td>$focoSaleReport.getRemark()</td>
129
                  #else
130
                    <td> -- </td>
131
                  #end
132
 
133
 
134
                 #if($focoSaleReport.getCreatedTimestamp())
30183 manish 135
                 <td>$focoSaleReport.getCreatedTimestamp().format($datehiphenFormatter)</td>
30164 manish 136
 
137
                #else
138
                  <td> -- </td>
139
                #end
140
 
141
                #if($focoSaleReport.getDisposedTimestamp())
30183 manish 142
                  <td>$focoSaleReport.getDisposedTimestamp().format($datehiphenFormatter)</td>
30164 manish 143
                #else
144
                 <td> -- </td>
145
                #end
146
                #if($focoSaleReport.getNextTimestamp())
30183 manish 147
                   <td>$focoSaleReport.getNextTimestamp().format($datehiphenFormatter)</td>
30164 manish 148
                #else
149
                 <td> -- </td>
150
                #end
151
                #if($focoSaleReport.getActivationTimestamp())
152
 
30183 manish 153
                    <td>$focoSaleReport.getActivationTimestamp().format($datehiphenFormatter)</td>
30164 manish 154
                #else
155
                    <td> -- </td>
156
                #end 
157
                 #if($focoSaleReport.getActivationTimestamp())
30183 manish 158
                 <td>$focoSaleReport.getCreateTimestamp().format($datehiphenFormatter)</td>
30164 manish 159
 
160
                 #else
161
                 <td> -- </td>
162
                 #end
163
                  <td>$focoSaleReport.getLabel()</td>
164
 
165
 
166
               </tr>
167
                #end
168
 
169
            </tbody>
170
 
171
        </table>
172
    </div>
173
 
174
</section>
175
 
176
 
177
 
178
<script>
179
 
180
        var dtable = $('#focoSaleReportTable').DataTable(
181
                {
182
                    "scrollX": true,
183
                    "bPaginate": true,
184
                    "bLengthChange": true,
185
                    "bFilter": true,
186
                    "bInfo": false,
187
                    "bAutoWidth": false,
188
 
189
 
190
     });
191
 
192
 
193
 
194
    </script>
195