Subversion Repositories SmartDukaan

Rev

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