Subversion Repositories SmartDukaan

Rev

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

Rev 28828 Rev 29137
Line 440... Line 440...
440
					<div class="col-lg-6">
440
					<div class="col-lg-6">
441
 
441
 
442
 
442
 
443
						<div class="row chartfilterlmsContainer" style="margin: 5px"></div>
443
						<div class="row chartfilterlmsContainer" style="margin: 5px"></div>
444
 
444
 
-
 
445
                <div class="row col-lg-12">
-
 
446
                    <ul class="nav nav-tabs">
-
 
447
                      <li class="brand_month_sales"><a class="bms">BWMS</a></li>
-
 
448
                      <li class="brand_month_purchase"><a class="bmp">BWMP</a></li>
-
 
449
                    </ul>
-
 
450
                         <div class="row chartLmsContainer" style="margin:5px"></div>
-
 
451
               
-
 
452
                        
-
 
453
                    </div>
445
 
454
 
446
 
455
 
447
						<div class="row chartLmsContainer" style="margin: 5px"></div>
-
 
448
					</div>
456
                 </div>
449
 
-
 
450
 
-
 
451
 
-
 
452
					<div class="col-lg-6">
-
 
453
 
-
 
454
 
-
 
455
						<div class="row chartfilterlmpContainer" style="margin: 5px"></div>
-
 
456
 
-
 
457
 
-
 
458
 
-
 
459
						<div class="row chartLmpContainer" style="margin: 5px"></div>
-
 
460
					</div>
-
 
461
 
-
 
462
					#end
457
					#end
463
 
458
					
464
				</div>
459
					
465
				<div class="row">
-
 
466
					#if($warehousePartnerDetailMap)
460
					#if($warehousePartnerDetailMap)
467
					<div class="col-lg-6">
461
					<div class="col-lg-6">
468
						<ul class="nav nav-tabs" style="margin: 5px">
462
						<ul class="nav nav-tabs" style="margin: 5px">
469
							<li class="mobile_based"><a class="ba">Mobile</a></li>
463
							<li class="mobile_based"><a class="ba">Mobile</a></li>
470
							<li class="accessories_based"><a class="la">Accessories</a></li>
464
							<li class="accessories_based"><a class="la">Accessories</a></li>
Line 479... Line 473...
479
 
473
 
480
					</div>
474
					</div>
481
 
475
 
482
 
476
 
483
 
477
 
-
 
478
					#end
-
 
479
 
-
 
480
				</div>
-
 
481
				<div class="row">
484
					#end #if($authUserTicketCount)
482
				 #if($authUserTicketCount)
485
 
483
 
486
 
484
 
487
					<div class="col-lg-6">
485
					<div class="col-lg-6">
488
						<div class="row col-lg-8">
486
						<div class="row col-lg-8">
489
							<h3 style="margin-top: -2px; margin-bottom: 24px">
487
							<h3 style="margin-top: -2px; margin-bottom: 24px">
Line 826... Line 824...
826
            function () {
824
            function () {
827
    	
825
    	
828
 
826
 
829
   doGetAjaxRequestHandler(context + "/getMobileLMSFilter", function (response) {
827
   doGetAjaxRequestHandler(context + "/getMobileLMSFilter", function (response) {
830
          $('.chartfilterlmsContainer').html(response);
828
          $('.chartfilterlmsContainer').html(response);
831
          $('.printlmsgraph').click();
829
          $('.brand_month_sales').click();
832
 
830
 
833
      });
831
      });
834
   
-
 
835
   doGetAjaxRequestHandler(context + "/getMobileLMPFilter", function (response) {
-
 
836
       $('.chartfilterlmpContainer').html(response);
-
 
837
       $('.printlmpgraph').click();
-
 
838
     
-
 
839
   }); 
-
 
840
   });
832
   });
841
    
833
    
842
    
834
    
-
 
835
    $(document).on(
-
 
836
			'click',
-
 
837
			".brand_month_sales",
-
 
838
			function() {
-
 
839
			
-
 
840
			 $(".bms").css("color", "blue");
-
 
841
                $(".bms").css("background-color", "white");   
-
 
842
               $(".bmp").css("color", "white"); 
-
 
843
                $(".bmp").css("background-color", "#C0C0C0");
-
 
844
 
-
 
845
				var warehouseId = $('#warehouseMap').val();
-
 
846
				var date = $('.date-set').val();
-
 
847
 
-
 
848
				var fofoIds = $('#fofo-users').val();
-
 
849
 
-
 
850
				doGetAjaxRequestHandler(context
-
 
851
						+ "/getMobileLMSGraph?warehouseId=" + warehouseId
-
 
852
						+ "&date=" + date + "&fofoIds=" + fofoIds, function(
-
 
853
						response) {
-
 
854
 
-
 
855
					$('.chartLmsContainer').html(response);
-
 
856
				});
-
 
857
			});
-
 
858
    
843
 
859
 
844
        
860
        
845
	/*$(function(){
861
	/*$(function(){
846
		messageType = $(this).data("messagetype");
862
		messageType = $(this).data("messagetype");
847
		if($(this).hasClass('btn-pressed')) {
863
		if($(this).hasClass('btn-pressed')) {