Subversion Repositories SmartDukaan

Rev

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

Rev 25011 Rev 25136
Line 232... Line 232...
232
                <!-- notificatoin dropdown end-->
232
                <!-- notificatoin dropdown end-->
233
            </div>
233
            </div>
234
      </header>      
234
      </header>      
235
      <!--header end-->
235
      <!--header end-->
236
 
236
 
237
      <!--sidebar start-->x
237
      <!--sidebar start-->
238
      <aside>
238
      <aside>
239
          <div id="sidebar"  class="nav-collapse ">
239
          <div id="sidebar"  class="nav-collapse ">
240
              <!-- sidebar menu start-->
240
              <!-- sidebar menu start-->
241
              <ul class="sidebar-menu">                
241
              <ul class="sidebar-menu">                
242
              	  <li class="active">
242
              	  <li class="active">
Line 297... Line 297...
297
					          <li><a class="add-remove-role" href="javascript:void(0);">Add/Remove Role</a></li>
297
					          <li><a class="add-remove-role" href="javascript:void(0);">Add/Remove Role</a></li>
298
		               	  </ul>
298
		               	  </ul>
299
		             </li>
299
		             </li>
300
  
300
  
301
               	   #end
301
               	   #end
302
               	    #if($isAdmin)
302
               	   #if($isAdmin)
303
                   <li class="sub-menu">
303
                   <li class="sub-menu">
304
			              <a href="javascript:;" class="">
304
			              <a href="javascript:;" class="">
305
		                       <i class="icon_document_alt"></i>
305
		                       <i class="icon_document_alt"></i>
306
		                       <span>Fin Services</span>
306
		                       <span>Fin Services</span>
307
		                       <span class="menu-arrow arrow_carrot-right"></span>
307
		                       <span class="menu-arrow arrow_carrot-right"></span>
Line 564... Line 564...
564
              <!-- sidebar menu end-->
564
              <!-- sidebar menu end-->
565
          </div>
565
          </div>
566
      </aside>
566
      </aside>
567
      <!--sidebar end-->
567
      <!--sidebar end-->
568
      
568
      
-
 
569
      
-
 
570
      
-
 
571
      
-
 
572
  
-
 
573
      
-
 
574
      
-
 
575
      
-
 
576
      
-
 
577
      
569
      <!--main content start-->
578
      <!--main content start-->
570
      <section id="main-content">
579
      <section id="main-content">
571
          <section class="wrapper">            
580
          <section class="wrapper">
572
              <!--overview start-->
581
          	<!--overview start-->
573
			  <div class="row">
582
			<div class="row">
574
				<div class="col-lg-12">
583
				<div class="col-lg-12">
575
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
584
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
576
					<ol class="breadcrumb">
585
					<ol class="breadcrumb">
577
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
586
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
578
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
587
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
579
					</ol>
588
					</ol>
580
				</div>
589
				</div>
581
			</div>
590
			</div>
-
 
591
			
582
	#if(!$isAdmin)
592
	#if(!$isAdmin)
-
 
593
		<div class="row">
583
		<div class="col-lg-6">
594
			<div class="col-lg-5">
-
 
595
				<h4 class="page-header" style="border-width:0px">Sales Summary</h4>
584
			#foreach($brandStockPrice in $brandStockPrices)
596
				#foreach($sale in $salesMap.entrySet())
585
				<div class="col-lg-4">
597
				<div class="col-lg-3">
586
					<div class="card">
598
					<div class="card">
587
					<div>
-
 
588
					  <img src="${brandStockPrice.getBrandUrl()}" alt="Avatar" style="width:35%;padding:8px">
-
 
589
					  <div style="display:inline-block;width:64%;" class="row">
599
						<div style="text-align: center;padding: 2px 0;">
590
					  	<div class="col-sm-12">
600
						    <h4>$sale.getKey()</h4>
591
					  		<h3 class="text-muted">${brandStockPrice.getTotalQty()} pc<br> 
601
						    <h3 class="currency text-muted">$sale.getValue()</h3> 							  		
592
					  			<span class="small">&#x20b9;
-
 
593
					  				<span class="currency">${brandStockPrice.getTotalValue()}</span>
-
 
594
					  			</span>
-
 
595
					  		</h3>
-
 
596
					  	</div>
602
						</div>
597
					  </div>
-
 
598
				  </div>
-
 
599
				  <div class="c-container">
-
 
600
				    <p><strong>${brandStockPrice.getBrand()}</strong></p> 
-
 
601
				  </div>
-
 
602
				</div>
603
					</div>
603
				</div>
604
				</div>
604
			#end
-
 
605
			</div>
-
 
606
		<div class="col-lg-6">
-
 
607
			<div class = "row" style="background-color:white;">
-
 
608
				<h4 class="modelHeaderCustom" style="font-size:22px;padding-bottom:2%">Sale Summary</h4>
-
 
609
				<div class="row" style= "margin-top:15px;" >
-
 
610
			    	<div class="col-lg-12">
-
 
611
				<table class="table table-bordered">
-
 
612
	    			<tbody>	
-
 
613
	                <tr>	
-
 
614
	                <th></th>
-
 
615
	                <th>Today</th>
-
 
616
					<th>Yesterday</th>
-
 
617
					<th>MTD</th>
-
 
618
					<th>Last Month</th>
-
 
619
				</tr>
-
 
620
				<tr>
-
 
621
				<th><a class="sale-history" href="javascript:void(0);">Physical Sale</a></th>
-
 
622
				<td>$currentDayTotalSale</td>
-
 
623
				<td>$previousDayTotalSale</td>
-
 
624
				<td>$currentMonthTotalSale</td>
-
 
625
				<td>$previousMonthTotalSale</td>
-
 
626
				</tr>
-
 
627
				<tr>
-
 
628
				<th><a class="sale-history" href="javascript:void(0);">Mobile</a></th>
-
 
629
				<td>$currentDayTotalMobileSale</td>
-
 
630
				<td>$previousDayTotalMobileSale</td>
-
 
631
				<td>$currentMonthTotalMobileSale</td>
-
 
632
				<td>$previousMonthTotalMobileSale</td>
-
 
633
				</tr>
-
 
634
				<tr>
-
 
635
				<th><a class="sale-history" href="javascript:void(0);">Accessories</a></th>
-
 
636
				<td>$currentDayTotalAccessoriesSale</td>
-
 
637
				<td>$previousDayTotalAccessoriesSale</td>
-
 
638
				<td>$currentMonthTotalAccessoriesSale</td>
-
 
639
				<td>$previousMonthTotalAccessoriesSale</td>
-
 
640
				</tr>
-
 
641
				<tr>
-
 
642
				<th><a class="mobile-recharges" href="javascript:void(0);">Recharge</a></th>
-
 
643
				#if(!$currentDayTotalRecharge.isEmpty())
-
 
644
				<td>$currentDayTotalRecharge.get($fofoId)</td>
-
 
645
				#else
-
 
646
				<td>0.0</td>
-
 
647
				#end
-
 
648
				#if(!$previousDayTotalRecharge.isEmpty())
-
 
649
				<td>$previousDayTotalRecharge.get($fofoId)</td>
-
 
650
				#else
-
 
651
				<td>0.0</td>
-
 
652
				#end
-
 
653
				#if(!$currentMonthTotalRecharge.isEmpty())
-
 
654
				<td>$currentMonthTotalRecharge.get($fofoId)</td>
-
 
655
				#else
-
 
656
				<td>0.0</td>
-
 
657
				#end
-
 
658
				#if(!$previousMonthTotalRecharge.isEmpty())
-
 
659
				<td>$previousMonthTotalRecharge.get($fofoId)</td>
-
 
660
				#else
-
 
661
				<td>0.0</td>
-
 
662
				#end
-
 
663
				</tr>
-
 
664
				<tr>
-
 
665
				<th><a class="insurance-policy-details" href="javascript:void(0);">Insurance</a></th>
-
 
666
				#if(!$currentDayTotalInsurance.isEmpty())
-
 
667
				<td>$currentDayTotalInsurance.get($fofoId)</td>
-
 
668
				#else
-
 
669
				<td>0.0</td>
-
 
670
				#end
-
 
671
				#if(!$previousDayTotalInsurance.isEmpty())
-
 
672
				<td>$previousDayTotalInsurance.get($fofoId)</td>
-
 
673
				#else
-
 
674
				<td>0.0</td>
-
 
675
				#end
605
				#end
-
 
606
			</div>
-
 
607
			<div class="col-lg-7">
676
				#if(!$currentMonthTotalInsurance.isEmpty())
608
				<h4 class="page-header" style="border-width:0px">Investment Summary</h4>
677
				<td>$currentMonthTotalInsurance.get($fofoId)</td>
609
				#foreach($investment in $investments.entrySet())
678
				#else
610
				<div class="col-lg-3">
679
				<td>0.0</td>
611
					<div class="card">
680
				#end
612
						<div style="text-align: center;padding: 2px 0;">
681
				#if(!$previousMonthTotalInsurance.isEmpty())
613
						    <h4>$investment.getKey()</h4>
682
				<td>$previousMonthTotalInsurance.get($fofoId)</td>
614
						    <h3 class="currency text-muted">$investment.getValue()</h3> 							  		
-
 
615
						</div>
683
				#else
616
					</div>
684
				<td>0.0</td>
617
				</div>
685
				#end
618
				#end
686
				</tr>
619
			</div>
687
	    			</tbody>
-
 
688
	    		</table>
-
 
689
	    	</div>
620
		</div>
690
	    	</div>	
-
 
691
	    	</div>
621
		
692
	    	</div>
622
		<!--<div class="row">
693
			<div class="col-lg-6">
623
			<div class="col-lg-6">
694
			<div class="panel panel-default">
-
 
695
                		<div class="panel-heading">Performance</div>
-
 
696
                		<div class="panel-content">
-
 
697
                		<ul class="nav nav-tabs">
-
 
698
						  <li role="presentation" class="active mobile"><a href="javascript:void(0)">Mobiles</a></li>
-
 
699
						  <li role="presentation" class="accessories"><a href="javascript:void(0)">Accessories</a></li>
-
 
700
						  <li role="presentation" class="recharge"><a href="javascript:void(0)">Recharge</a></li>
-
 
701
						   <li role="presentation" class="insurance"><a href="javascript:void(0)">Insurance</a></li>
-
 
702
						</ul>
-
 
703
 
-
 
704
						<table class="brandPerformancemobile table table-bordered">
-
 
705
							<thead>
-
 
706
								<tr>
-
 
707
									<th>Brand Name</th>
-
 
708
									<th>Today</th>
-
 
709
									<th>MTD</th>
-
 
710
									<th>Yesterday</th>
-
 
711
									<th>Last Month</th>
-
 
712
									</tr>
-
 
713
									</thead>
-
 
714
									<tbody>
-
 
715
									#foreach($brand in $brands)
624
				#foreach($brandStockPrice in $brandStockPrices)
716
									<tr>
-
 
717
										<td>$brand</td>
625
				<div class="col-lg-4">
718
										#if($currentDayMobileSalegroupByBrand.get($brand))
-
 
719
												<td>$currentDayMobileSalegroupByBrand.get($brand)</td>
-
 
720
										#else
-
 
721
												<td>-</td>
626
					<div class="card">
722
										#end
627
						<div>
723
										#if($currentMonthMobileSalegroupByBrand.get($brand))
-
 
724
											<td>$currentMonthMobileSalegroupByBrand.get($brand)</td>
628
						  <img src="${brandStockPrice.getBrandUrl()}" alt="Avatar" style="width:35%;padding:8px">
725
										#else
-
 
726
											<td>-</td>
-
 
727
										#end
-
 
728
										#if($previousDayMobileSalegroupByBrand.get($brand))
-
 
729
												<td>$previousDayMobileSalegroupByBrand.get($brand)</td>
-
 
730
										#else
-
 
731
												<td>-</td>
-
 
732
										#end
-
 
733
										#if($previousMonthMobileSalegroupByBrand.get($brand))
-
 
734
											<td>$previousMonthMobileSalegroupByBrand.get($brand)</td>
-
 
735
										#else
-
 
736
											<td>-</td>
-
 
737
										#end
-
 
738
									</tr>
-
 
739
									#end
-
 
740
								</tbody>
-
 
741
						</table>
-
 
742
						<table style="display:none" class="table brandPerformanceaccessories table-bordered">
629
						  <div style="display:inline-block;width:64%;" class="row">
743
							<thead>
-
 
744
								<tr>
-
 
745
									<th>Brand Name</th>
-
 
746
									<th>Today</th>
-
 
747
									<th>MTD</th>
-
 
748
									<th>Yesterday</th>
-
 
749
									<th>Last Month</th>
630
						  	<div class="col-sm-12">
750
								</tr>
-
 
751
								</thead>
-
 
752
								<tbody>
-
 
753
									#foreach($brand in $accessories)
-
 
754
									<tr>
-
 
755
										<td>$brand</td>
-
 
756
										#if($currentDayAccesoriesSalegroupByBrand.size()>0)
-
 
757
												<td>$currentDayAccesoriesSalegroupByBrand.get($brand)</td>
-
 
758
										#else
-
 
759
												<td>-</td>
-
 
760
										#end
-
 
761
										#if($currentMonthAccesoriesSalegroupByBrand.get($brand))
-
 
762
											<td>$currentMonthAccesoriesSalegroupByBrand.get($brand)</td>
631
						  		<h3 class="text-muted">${brandStockPrice.getTotalQty()} pc<br> 
763
										#else
-
 
764
											<td>-</td>
632
						  			<span class="small">&#x20b9;
765
										#end
-
 
766
										#if($previousDayAccesoriesSalegroupByBrand.get($brand))
-
 
767
												<td>$previousDayAccesoriesSalegroupByBrand.get($brand)</td>
633
						  				<span class="currency">${brandStockPrice.getTotalValue()}</span>
768
										#else
-
 
769
												<td>-</td>
-
 
770
										#end
-
 
771
										#if($previousMonthAccesoriesSalegroupByBrand.get($brand))
-
 
772
											<td>$previousMonthAccesoriesSalegroupByBrand.get($brand)</td>
-
 
773
										#else
-
 
774
											<td>-</td>
-
 
775
										#end
-
 
776
									</tr>
634
						  			</span>
777
									#end
-
 
778
								</tbody>
-
 
779
						</table>
-
 
780
						<table style="display:none" class="table brandPerformancerecharge table-bordered">
-
 
781
							<thead>
-
 
782
								<tr>
635
						  		</h3>
783
									<th>Recharge Type</th>
-
 
784
									<th>Today</th>
-
 
785
									<th>MTD</th>
-
 
786
									<th>Yesterday</th>
-
 
787
									<th>Last Month</th>
-
 
788
								</tr>
636
						  	</div>
789
								</thead>
637
						  </div>
790
							<tbody>
-
 
791
							#foreach($rechargeType in $rechargeTypes)
-
 
792
							<tr>
638
					  </div>
793
							<td>$rechargeType</td>
639
					  <div class="c-container">
794
								
-
 
795
								#if($currentDayTotalRechargeByRechargeType.get($rechargeType)>0)
640
					    <p><strong>${brandStockPrice.getBrand()}</strong></p> 
796
													
-
 
797
										<td>$currentDayTotalRechargeByRechargeType.get($rechargeType)</td>
-
 
798
								#else
-
 
799
										<td>-</td>
-
 
800
								#end
-
 
801
										#if($currentMonthTotalRechargeByRechargeType.get($rechargeType)>0)
-
 
802
												<td>$currentMonthTotalRechargeByRechargeType.get($rechargeType)</td>
-
 
803
										#else
-
 
804
												<td>-</td>
-
 
805
										#end
-
 
806
								#if($previousDayTotalRechargeByRechargeType.get($rechargeType)>0)
-
 
807
										<td>$previousDayTotalRechargeByRechargeType.get($rechargeType)</td>
-
 
808
								#else
-
 
809
										<td>-</td>
-
 
810
								#end
-
 
811
										#if($previosMonthTotalRechargeByRechargeType.get($rechargeType)>0)
-
 
812
													<td>$previosMonthTotalRechargeByRechargeType.get($rechargeType)</td>
-
 
813
										#else
-
 
814
													<td>-</td>
-
 
815
										#end
-
 
816
											
-
 
817
							</tr>
641
					  </div>
818
							#end
-
 
819
							</tbody>
-
 
820
						</table>
-
 
821
						<table style="display:none" class="table brandPerformanceinsurance  table-bordered">
-
 
822
							<thead>
-
 
823
								<tr>
-
 
824
									<th>Insurance Provider</th>
-
 
825
									<th>Today</th>
-
 
826
									<th>MTD</th>
-
 
827
									<th>Yesterday</th>
-
 
828
									<th>Last Month</th>
-
 
829
								</tr>
-
 
830
								</thead>
-
 
831
							<tbody>
-
 
832
							#foreach($insuranceProvider in $insuranceProviders)
-
 
833
							<tr>
642
					</div>
834
							<td>$insuranceProvider</td>
-
 
835
								#if($currentDayTotalInsuranceByPolicyName.get($insuranceProvider)>0)
-
 
836
									<td>$currentDayTotalInsuranceByPolicyName.get($insuranceProvider)</td>
-
 
837
								#else
-
 
838
										<td>-</td>
-
 
839
								#end
-
 
840
									#if($currentMonthTotalInsuranceByPolicyName.get($insuranceProvider)>0)
-
 
841
											<td>$currentMonthTotalInsuranceByPolicyName.get($insuranceProvider)</td>
-
 
842
									#else
-
 
843
												<td>-</td>
-
 
844
									#end
-
 
845
											#if($previousDayTotalInsuranceByPolicyName.get($insuranceProvider)>0)
-
 
846
													<td>$previousDayTotalInsuranceByPolicyName.get($insuranceProvider)</td>
-
 
847
											#else
-
 
848
													<td>-</td>
-
 
849
											#end
-
 
850
													#if($previousMonthTotalInsuranceByPolicyName.get($insuranceProvider)>0)
-
 
851
													
-
 
852
															<td>$previousMonthTotalInsuranceByPolicyName.get($insuranceProvider)</td>
-
 
853
													#else
-
 
854
															<td>-</td>
-
 
855
													#end
-
 
856
							</tr>
643
				</div>
857
							#end
644
				#end
858
							</tbody>
-
 
859
						</table>
645
			</div>
860
                		</div>
-
 
861
                	</div>
-
 
862
	    		</div>
646
		</div>-->
863
	    		#else
647
	#else
864
           <div class="col-lg-6">
648
           <div class="col-lg-6">
865
           	<!--<div class="row">
649
           	<!--<div class="row">
866
           		<canvas id="weeklyInvestmentSummary"></canvas>
650
           		<canvas id="weeklyInvestmentSummary"></canvas>
867
           	</div>-->
651
           	</div>-->
868
            <div class="row">
652
            <div class="row">
Line 1065... Line 849...
1065
    	
849
    	
1066
    	$("#logout").click(function(){
850
    	$("#logout").click(function(){
1067
    		localStorage.profile = undefined;
851
    		localStorage.profile = undefined;
1068
    	});
852
    	});
1069
 
853
 
1070
	  saleAmount = numberToComma($partnerInvestment.getSalesAmount());
854
	  /*saleAmount = numberToComma($partnerInvestment.getSalesAmount());
1071
      minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
855
      minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
1072
      totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
856
      totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
1073
      shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
857
      shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
1074
      grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
858
      grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
1075
      unbilledStockAmount = numberToComma($partnerInvestment.getUnbilledAmount());
859
      unbilledStockAmount = numberToComma($partnerInvestment.getUnbilledAmount());
Line 1090... Line 874...
1090
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
874
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
1091
		    show: false	
875
		    show: false	
1092
		});
876
		});
1093
	});
877
	});
1094
	hasGift=$hasGift;
878
	hasGift=$hasGift;
1095
	giftItemId = $giftItemId;
879
	giftItemId = $giftItemId;*/
1096
  </script>
880
  </script>
1097
 
881
 
1098
	<script type="text/javascript">
882
	<script type="text/javascript">
1099
	$(function() {
883
	$(function() {
1100
		/*var ctx = document.getElementById("weeklyInvestmentSummary").getContext("2d");
884
		/*var ctx = document.getElementById("weeklyInvestmentSummary").getContext("2d");
1101
		var myChart = new Chart(ctx, investmentChart);*/
885
		var myChart = new Chart(ctx, investmentChart);*/
1102
	$("#dashboard-paginated .next").live(
886
	$("#dashboard-paginated .next").on(
1103
			'click',
887
			'click',
1104
			function() { 
888
			function() { 
1105
			console.log("Hello")
889
			console.log("Hello")
1106
			  loadPaginatedNextItems('/getPaginatedNotificationData', null,
890
			  loadPaginatedNextItems('/getPaginatedNotificationData', null,
1107
						'dashboard-paginated', 'dashboard-paginated-table',
891
						'dashboard-paginated', 'dashboard-paginated-table',
1108
						'dashboard-paginated-container');
892
						'dashboard-paginated-container');
1109
			
893
			
1110
				$(this).blur();
894
				$(this).blur();
1111
			});
895
			});
1112
 
896
 
1113
	$("#dashboard-paginated .previous").live(
897
	$("#dashboard-paginated .previous").on(
1114
			'click',
898
			'click',
1115
			function() {
899
			function() {
1116
			
900
			
1117
		   
901
		   
1118
		     loadPaginatedPreviousItems('/getPaginatedNotificationData', null,
902
		     loadPaginatedPreviousItems('/getPaginatedNotificationData', null,
Line 1142... Line 926...
1142
						}
926
						}
1143
	 }
927
	 }
1144
 
928
 
1145
$(function()
929
$(function()
1146
{
930
{
1147
	$("li.accessories").live('click', function(){
931
	$("li.accessories").on('click', function(){
1148
		if(!$(this).hasClass('active')) {
932
		if(!$(this).hasClass('active')) {
1149
			
933
			
1150
			if($("li.mobile").hasClass('active'))
934
			if($("li.mobile").hasClass('active'))
1151
			{
935
			{
1152
				$("li.mobile").removeClass('active');
936
				$("li.mobile").removeClass('active');
Line 1164... Line 948...
1164
			}
948
			}
1165
			$("table.brandPerformanceaccessories").removeAttr("style");
949
			$("table.brandPerformanceaccessories").removeAttr("style");
1166
			$(this).addClass('active');
950
			$(this).addClass('active');
1167
		}
951
		}
1168
	});
952
	});
1169
	$("li.mobile").live('click', function(){
953
	$("li.mobile").on('click', function(){
1170
		if(!$(this).hasClass('active')) {
954
		if(!$(this).hasClass('active')) {
1171
			
955
			
1172
			if($("li.accessories").hasClass('active'))
956
			if($("li.accessories").hasClass('active'))
1173
			{
957
			{
1174
				$("li.accessories").removeClass('active');
958
				$("li.accessories").removeClass('active');
Line 1209... Line 993...
1209
						</div>
993
						</div>
1210
	    			</div>`,
994
	    			</div>`,
1211
	    placement: "bottom",
995
	    placement: "bottom",
1212
	    trigger: "focus"
996
	    trigger: "focus"
1213
	});
997
	});
1214
	$("li.recharge").live('click', function(){
998
	$("li.recharge").on('click', function(){
1215
		if(!$(this).hasClass('active')) {
999
		if(!$(this).hasClass('active')) {
1216
		
1000
		
1217
			if($("li.accessories").hasClass('active'))
1001
			if($("li.accessories").hasClass('active'))
1218
			{
1002
			{
1219
				$("li.accessories").removeClass('active');
1003
				$("li.accessories").removeClass('active');
Line 1231... Line 1015...
1231
			}
1015
			}
1232
				$("table.brandPerformancerecharge").removeAttr("style");
1016
				$("table.brandPerformancerecharge").removeAttr("style");
1233
			$(this).addClass('active');
1017
			$(this).addClass('active');
1234
		}
1018
		}
1235
	});
1019
	});
1236
	$("li.insurance").live('click', function(){
1020
	$("li.insurance").on('click', function(){
1237
		if(!$(this).hasClass('active')) {
1021
		if(!$(this).hasClass('active')) {
1238
		
1022
		
1239
			if($("li.accessories").hasClass('active'))
1023
			if($("li.accessories").hasClass('active'))
1240
			{
1024
			{
1241
				$("li.accessories").removeClass('active');
1025
				$("li.accessories").removeClass('active');
Line 1287... Line 1071...
1287
		 var stopInterval;
1071
		 var stopInterval;
1288
 
1072
 
1289
 
1073
 
1290
$(document).ready(function(){
1074
$(document).ready(function(){
1291
	
1075
	
1292
	 stopInterval = setInterval(showAttendanceModal, 10000);
1076
	 stopInterval = setInterval(showAttendanceModal, 100000000);
1293
	
1077
	
1294
});
1078
});
1295
 
1079
 
1296
 
1080
 
1297
function showAttendanceModal() {
1081
function showAttendanceModal() {