Subversion Repositories SmartDukaan

Rev

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

Rev 28524 Rev 28825
Line 190... Line 190...
190
				$('#' + "main-content").html(response);
190
				$('#' + "main-content").html(response);
191
				console.log(response)
191
				console.log(response)
192
			});
192
			});
193
	}
193
	}
194
	
194
	
-
 
195
  function getWarehouseWiseBrandActivatedModel(brand){
-
 
196
	
-
 
197
		doGetAjaxRequestHandler(context + "/getActivatedModelWarehouseWise?brand="+brand,
-
 
198
			function(response) {
-
 
199
				$('#' + "main-content").html(response);
-
 
200
				console.log(response)
-
 
201
			});
-
 
202
	}
-
 
203
	
195
	function getWarehouseWiseAccessoriesBrandPartnerSale(brand){
204
	function getWarehouseWiseAccessoriesBrandPartnerSale(brand){
196
	doGetAjaxRequestHandler(context + "/getWarehouseWiseAccesoriesBrandPartnerSale?brand="+brand,
205
	doGetAjaxRequestHandler(context + "/getWarehouseWiseAccesoriesBrandPartnerSale?brand="+brand,
197
			function(response) {
206
			function(response) {
198
				$('#' + "main-content").html(response);
207
				$('#' + "main-content").html(response);
199
				console.log(response)
208
				console.log(response)
Line 457... Line 466...
457
					#if($warehousePartnerDetailMap)
466
					#if($warehousePartnerDetailMap)
458
					<div class="col-lg-6">
467
					<div class="col-lg-6">
459
						<ul class="nav nav-tabs" style="margin: 5px">
468
						<ul class="nav nav-tabs" style="margin: 5px">
460
							<li class="mobile_based"><a class="ba">Mobile</a></li>
469
							<li class="mobile_based"><a class="ba">Mobile</a></li>
461
							<li class="accessories_based"><a class="la">Accessories</a></li>
470
							<li class="accessories_based"><a class="la">Accessories</a></li>
-
 
471
							<li class="activation_summary"><a class="as">Activation Summary</a></li>
-
 
472
							<li class="activation_updation"><a class="au">Activation Updation</a></li>
-
 
473
							
462
 
474
 
463
						</ul>
475
						</ul>
464
 
476
 
465
 
477
 
466
						<div class="row reportContainer" style="margin: 5px"></div>
478
						<div class="row reportContainer" style="margin: 5px"></div>
Line 741... Line 753...
741
    	
753
    	
742
            $(".ba").css("color", "blue");
754
            $(".ba").css("color", "blue");
743
            $(".ba").css("background-color", "white");   
755
            $(".ba").css("background-color", "white");   
744
           $(".la").css("color", "white"); 
756
           $(".la").css("color", "white"); 
745
            $(".la").css("background-color", "#C0C0C0");
757
            $(".la").css("background-color", "#C0C0C0");
-
 
758
              $(".as").css("color", "white"); 
-
 
759
            $(".as").css("background-color", "#C0C0C0");
-
 
760
         
-
 
761
           $(".au").css("color", "white"); 
-
 
762
            $(".au").css("background-color", "#C0C0C0");
-
 
763
         
746
            doGetAjaxRequestHandler(context + "/getMobileBrandWise", function (response) {
764
            doGetAjaxRequestHandler(context + "/getMobileBrandWise", function (response) {
747
                    $('.reportContainer').html(response);
765
                    $('.reportContainer').html(response);
748
                });              
766
                });              
749
        }); 
767
        }); 
750
    
768
    
Line 752... Line 770...
752
            function () {
770
            function () {
753
    	
771
    	
754
          $(".ba").css("color", "white"); 
772
          $(".ba").css("color", "white"); 
755
          $(".ba").css("background-color", "#C0C0C0");   
773
          $(".ba").css("background-color", "#C0C0C0");   
756
           $(".la").css("color", "blue"); 
774
           $(".la").css("color", "blue"); 
757
            $(".la").css("background-color", "white");   
775
            $(".la").css("background-color", "white"); 
-
 
776
             $(".as").css("color", "white"); 
-
 
777
            $(".as").css("background-color", "#C0C0C0");
-
 
778
         
-
 
779
           $(".au").css("color", "white"); 
-
 
780
            $(".au").css("background-color", "#C0C0C0");  
758
             doGetAjaxRequestHandler(context + "/getAccessoriesBrandWise", function (response) {
781
             doGetAjaxRequestHandler(context + "/getAccessoriesBrandWise", function (response) {
759
                    $('.reportContainer').html(response);
782
                    $('.reportContainer').html(response);
760
                });    
783
                });    
761
   }); 
784
   }); 
762
    
785
    
763
    
786
    
-
 
787
    $(document).on("click", ".activation_summary",
-
 
788
            function () {
-
 
789
    	
-
 
790
        $(".as").css("color", "blue"); 
-
 
791
          $(".as").css("background-color", "white");   
-
 
792
           $(".la").css("color", "white"); 
-
 
793
            $(".la").css("background-color", "C0C0C0"); 
-
 
794
             $(".ba").css("color", "white"); 
-
 
795
            $(".ba").css("background-color", "#C0C0C0");
-
 
796
         
-
 
797
           $(".au").css("color", "white"); 
-
 
798
            $(".au").css("background-color", "#C0C0C0");  
-
 
799
             doGetAjaxRequestHandler(context + "/getActivatedModelByBrand", function (response) {
-
 
800
                    $('.reportContainer').html(response);
-
 
801
                });    
-
 
802
   }); 
-
 
803
   
-
 
804
   
-
 
805
   
-
 
806
       
-
 
807
    $(document).on("click", ".activation_updation",
-
 
808
            function () {
-
 
809
    	
-
 
810
        $(".as").css("color", "white"); 
-
 
811
          $(".as").css("background-color", "#C0C0C0");   
-
 
812
           $(".au").css("color", "blue"); 
-
 
813
            $(".au").css("background-color", "white"); 
-
 
814
             $(".ba").css("color", "white"); 
-
 
815
            $(".ba").css("background-color", "#C0C0C0");
-
 
816
         
-
 
817
           $(".la").css("color", "white"); 
-
 
818
            $(".la").css("background-color", "#C0C0C0");  
-
 
819
             doGetAjaxRequestHandler(context + "/getActivatedImeiUpdationDate", function (response) {
-
 
820
                    $('.reportContainer').html(response);
-
 
821
                });    
-
 
822
   }); 
-
 
823
    
764
    
824
    
765
    $(document).on("click", ".clickshwograph",
825
    $(document).on("click", ".clickshwograph",
766
            function () {
826
            function () {
767
    	
827
    	
768
 
828