Subversion Repositories SmartDukaan

Rev

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

Rev 27592 Rev 27594
Line 168... Line 168...
168
				$('#' + "main-content").html(response);
168
				$('#' + "main-content").html(response);
169
				console.log(response)
169
				console.log(response)
170
			});
170
			});
171
	}
171
	}
172
	
172
	
-
 
173
	function getWarehouseWiseAccessoriesBrandPartnerSale(brand){
-
 
174
	doGetAjaxRequestHandler(context + "/getWarehouseWiseAccesoriesBrandPartnerSale?brand="+brand,
-
 
175
			function(response) {
-
 
176
				$('#' + "main-content").html(response);
-
 
177
				console.log(response)
-
 
178
			});
-
 
179
	}
-
 
180
	
173
	
181
	
174
</script>
182
</script>
175
	
183
	
176
	
184
	
177
<script type="text/javascript">
185
<script type="text/javascript">
Line 395... Line 403...
395
	    				  <td>$salekey.getBrand()</td>
403
	    				  <td>$salekey.getBrand()</td>
396
	    	 		    
404
	    	 		    
397
	    	 		      #if($salekey.getLms())
405
	    	 		      #if($salekey.getLms())
398
	    	 		      <td class="currency">$salekey.getLms()</td>
406
	    	 		      <td class="currency">$salekey.getLms()</td>
399
	    	 		      #else
407
	    	 		      #else
-
 
408
	    	 		      <td>0</td>
-
 
409
	    	 		      #end
-
 
410
	    	 		       
-
 
411
	    	 		      #if($salekey.getLmsQty())
-
 
412
	    	 		      <td class="currency">$salekey.getLmsQty()</td>
-
 
413
	    	 		      #else
-
 
414
	    	 		      <td>0</td>
-
 
415
	    	 		      #end
-
 
416
	    	 		      #if($salekey.getLmtd())
-
 
417
	    	 		      <td class="currency">$salekey.getLmtd()</td>
-
 
418
	    	 		      #else
-
 
419
	    	 		      <td>0</td>
-
 
420
	    	 		      #end
-
 
421
	    	 		       
-
 
422
	    	 		      #if($salekey.getLmtdQty())
-
 
423
	    	 		      <td class="currency">$salekey.getLmtdQty()</td>
-
 
424
	    	 		      #else
-
 
425
	    	 		      <td>0</td>
-
 
426
	    	 		      #end
-
 
427
	    	 		       #if($salekey.getMtd())
-
 
428
	    	 		      <td class="currency">$salekey.getMtd()</td>
-
 
429
	    	 		      #else
-
 
430
	    	 		      <td>0</td>
-
 
431
	    	 		      #end
-
 
432
	    	 		      #if($salekey.getMtdQty())
-
 
433
	    	 		      <td class="currency">$salekey.getMtdQty()</td>
-
 
434
	    	 		      #else
-
 
435
	    	 		      <td>0</td>
-
 
436
	    	 		      #end
-
 
437
	    	 		   </tr>
-
 
438
	    				 #end
-
 
439
	    				
-
 
440
	    		    </tbody>
-
 
441
	    		</table>
-
 
442
	    		
-
 
443
			</div>
-
 
444
			
-
 
445
			
-
 
446
			<div class="col-lg-6">
-
 
447
					<div class="row col-lg-6">
-
 
448
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Accessories Brand Wise Report</strong></h3>
-
 
449
					</div>
-
 
450
					
-
 
451
					 <table class="table table-striped table-advance table-hover">
-
 
452
	    			<tbody>
-
 
453
	    				<tr>
-
 
454
	    			    <th>Brand</th>
-
 
455
	    				<th>LMS</th>
-
 
456
	    				  <th>LMS Qty</th>
-
 
457
	    				 <th>LMTD</th>
-
 
458
	    				  <th>LMTD Qty</th>
-
 
459
	    				   <th>MTD</th>
-
 
460
	    				    <th>MTD Qty</th>
-
 
461
	    				</tr>
-
 
462
	    				#foreach($salekey in $accessoriesBrandSales)
-
 
463
	    				<tr onclick="getWarehouseWiseAccessoriesBrandPartnerSale(`$salekey.getBrand()`)">
-
 
464
	    				  <td>$salekey.getBrand()</td>
-
 
465
	    	 		    
-
 
466
	    	 		      #if($salekey.getLms())
-
 
467
	    	 		      <td class="currency">$salekey.getLms()</td>
-
 
468
	    	 		      #else
400
	    	 		      <td>0</td>
469
	    	 		      <td>0</td>
401
	    	 		      #end
470
	    	 		      #end
402
	    	 		       
471
	    	 		       
403
	    	 		      #if($salekey.getLmsQty())
472
	    	 		      #if($salekey.getLmsQty())
404
	    	 		      <td class="currency">$salekey.getLmsQty()</td>
473
	    	 		      <td class="currency">$salekey.getLmsQty()</td>