Subversion Repositories SmartDukaan

Rev

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

Rev 27519 Rev 27526
Line 700... Line 700...
700
									</div>						
700
									</div>						
701
									<div class="col-lg-3 row">
701
									<div class="col-lg-3 row">
702
										<div style="margin-top:0px" class="count currency">$salesMap.get("todaySale")</div>
702
										<div style="margin-top:0px" class="count currency">$salesMap.get("todaySale")</div>
703
										<div class="title">Today&apos;s</div>
703
										<div class="title">Today&apos;s</div>
704
									</div>
704
									</div>
-
 
705
									
705
									<!--<div class="col-lg-1 row" style="margin-left: -20px;margin-top: 20px;">
706
									<div class="col-lg-1 row" style="margin-left: -20px;margin-top: 20px;">
706
										<i class="fk_more fa fa-angle-double-down" style="cursor:pointer;font-size: 27px;width: 27px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 27px;"></i>
707
										<i class="fk_more fa fa-angle-double-down" id="blue-dropdown" style="cursor:pointer;font-size: 27px;width: 27px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 27px;"></i>
707
									</div>-->
708
									</div>	
-
 
709
						       	</div>
-
 
710
						       
-
 
711
								<div class="row monthsaleContainer" style="margin:5px">
708
								</div>
712
								</div> 
709
							</div>
713
							</div>
710
						</div>
714
						</div>
711
						<div class="col-lg-5 row">
715
						<div class="col-lg-5 row">
712
							<div class="info-box brown-bg">
716
							<div class="info-box brown-bg">
713
								
717
								
Line 949... Line 953...
949
		webApiPort="$webApiPort";
953
		webApiPort="$webApiPort";
950
	</script>
954
	</script>
951
	#parse("include-scripts.vm")
955
	#parse("include-scripts.vm")
952
	
956
	
953
	<script type="text/javascript">
957
	<script type="text/javascript">
-
 
958
   $(document).ready(function(){
-
 
959
	var salesCloseFlag = true;
954
	$(".fk_more").live('click', function() {
960
	$("#blue-dropdown").click(function () {
-
 
961
	        // console.log("clicked");
-
 
962
	     if(salesCloseFlag) {
-
 
963
	     	var containerWidth = $(".blue-bg").width()	
955
		doGetAjaxRequestHandler(context + "/more-sales", function(response) {
964
	     	doGetAjaxRequestHandler(context + "/getMonthSale", function(response) {
956
			console.log(response);
965
				$('.monthsaleContainer').html(response);
-
 
966
			
-
 
967
	       		$(".blue-bg").css({ "position": "absolute","z-index": "10"}).width(containerWidth);
957
		});
968
			});
-
 
969
		} else {
-
 
970
            $(".blue-bg").removeAttr('style');
-
 
971
            $('.monthsaleContainer').html('');
-
 
972
		}
-
 
973
		salesCloseFlag = !salesCloseFlag;
-
 
974
	});
958
	});
975
	});
959
	
976
	
960
 
977
 
961
	$("#description-offer").live(
978
	$("#description-offer").live(
962
			"click",
979
			"click",