Subversion Repositories SmartDukaan

Rev

Rev 25721 | Rev 26082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25721 Rev 25736
Line 178... Line 178...
178
						</div>
178
						</div>
179
					  #end
179
					  #end
180
	                  </div>
180
	                  </div>
181
                	</div>
181
                	</div>
182
                	#end
182
                	#end
-
 
183
                	
-
 
184
                
-
 
185
    	         	<div class="panel panel-default">
-
 
186
	    			#if(!$isAdmin)
-
 
187
	                <div class="panel-heading">Brand Stock</div>
-
 
188
	                  <div class="panel-content">
-
 
189
		                 <table class="table table-sm" id="stock-table">
-
 
190
	                  		  <thead>
-
 
191
							    <tr>
-
 
192
							      <th>Brand</th>
-
 
193
							      <th>Qty(pc)</th>
-
 
194
							      <th>Value</th>
-
 
195
							     
-
 
196
							    </tr>
-
 
197
							  </thead>
-
 
198
							  <tbody>
-
 
199
							
-
 
200
							   #foreach( $brandStockPrice in $brandStockPrices )
-
 
201
			    				<tr class="stockInfo" >
-
 
202
			    					<td>$brandStockPrice.getBrand()</td>
-
 
203
			    					<td>$brandStockPrice.getTotalQty()</td>
-
 
204
			    					<td><span class="currency">$brandStockPrice.getTotalValue()</span></td>
-
 
205
							    </tr>
-
 
206
							    #end
-
 
207
							   </tbody>
-
 
208
							</table>
-
 
209
	                  </div>
-
 
210
                  	</div>
-
 
211
    	          #end
-
 
212
    	        </div>
-
 
213
    	   
183
                	#if($isAdmin)
214
                	#if($isAdmin)
184
                	<div class="panel panel-default">
215
                	<div class="panel panel-default">
185
                		<div class="panel-heading">Brandwise Target and Performance</div>
216
                		<div class="panel-heading">Brandwise Target and Performance</div>
186
                		<div class="panel-content">
217
                		<div class="panel-content">
187
                		<ul class="nav nav-tabs">
218
                		<ul class="nav nav-tabs">
Line 252... Line 283...
252
                	</div>
283
                	</div>
253
                	#end
284
                	#end
254
	    		</div>
285
	    		</div>
255
	    	</div>
286
	    	</div>
256
    	</div>
287
    	</div>
-
 
288
    
-
 
289
    	
257
</section>
290
</section>
258
<script type="text/javascript">
291
<script type="text/javascript">
259
totalAmount = $totalAmount;
292
totalAmount = $totalAmount;
260
/* Create an array with the values of all the input boxes in a column */
293
/* Create an array with the values of all the input boxes in a column */
261
$.fn.dataTable.ext.order['dom-text'] = function  ( settings, col )
294
$.fn.dataTable.ext.order['dom-text'] = function  ( settings, col )
Line 293... Line 326...
293
var customRetailers = ${customRetailers};
326
var customRetailers = ${customRetailers};
294
$(document).ready(function() {
327
$(document).ready(function() {
295
    indentTable = $('#entire-catalog-table').DataTable({
328
    indentTable = $('#entire-catalog-table').DataTable({
296
    	"scrollY":"600px",
329
    	"scrollY":"600px",
297
    	"columns": [
330
    	"columns": [
-
 
331
    	
-
 
332
    	
298
            null, null, null, null,
333
            { "visible": false }, null,null, null,
299
            { "orderDataType": "dom-text-numeric" }, null, null, null,null,null
334
            { "orderDataType": "dom-text-numeric" }, null, null, null,null,null
300
        ],
335
        ],
301
        "lengthMenu":[[25,50],[25,50]],
336
        "lengthMenu":[[25,50],[25,50]],
302
        "order": []
337
        "order": []
303
	});
338
	});