Subversion Repositories SmartDukaan

Rev

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

Rev 27354 Rev 27355
Line 887... Line 887...
887
					
887
					
888
							</h4>
888
							</h4>
889
							
889
							
890
						   #end
890
						   #end
891
						   
891
						   
892
                           <p style="float:right;font-size:15px; margin:0px 0px 0px; " id="description-offer" data-description = "$offer.getDescription()" data-toggle="modal" data-target="#offerDescription"  data-backdrop="static" data-keyboard="false"><a href="#">All terms & conditions</a></p>
892
                           <p style="float:right;font-size:15px; margin:0px 0px 0px; " id="description-offer" data-offerId = "$offer.getId()" data-toggle="modal" data-target="#offerDescription"  data-backdrop="static" data-keyboard="false"><a href="#">All terms & conditions</a></p>
893
						   
893
						   
894
					</div>
894
					</div>
895
					#end
895
					#end
896
				#end
896
				#end
897
				#end
897
				#end
-
 
898
		   <div class="offer-margin-container">
898
	          <div  class="modal  text-center" id="offerDescription">
899
	          <div  class="modal  text-center" id="offerDescription">
899
					<div class="modal-dialog">
900
					<div class="modal-dialog">
900
				    <div class="modal-content" >
901
				    <div class="modal-content" >
901
				     <div class="modal-header">
-
 
902
					        <button type="button" class="close" id = "cancel-model" data-dismiss="modal">&times;</button>
-
 
903
					        <h4 class="modal-title">Terms & Conditions</h4>      
-
 
904
				      </div>
-
 
905
                    <div class="modal-body1">
-
 
906
                     <div class = "row">
-
 
907
                     <div class="col-lg-12">
-
 
908
               
-
 
909
	    </div>
-
 
910
	    </div>
-
 
911
	    <div class="row">
-
 
912
                     <div class="col-lg-12">
-
 
913
                      <ul id="descriptionMenu">
-
 
914
						</ul>
-
 
915
		</div>
-
 
916
	</div>
-
 
917
             </div>	
-
 
918
	              <div class="modal-footer">
-
 
919
					        <button type="button" data-dismiss="modal" class="btn btn-default cancel-description">Cancel</button>
-
 
920
					   
902
				    
921
				   </div>
-
 
922
				    </div>
-
 
923
				    </div>
903
				    </div>
924
				    </div>
904
				    </div>
-
 
905
				</div>
-
 
906
				</div>
-
 
907
				
925
				<div class="row col-lg-12 info-box white-bg">
908
				<div class="row col-lg-12 info-box white-bg">
926
					#parse("performance.vm")
909
					#parse("performance.vm")
927
				</div>
910
				</div>
928
				<div class="row col-lg-12 info-box white-bg">
911
				<div class="row col-lg-12 info-box white-bg">
929
					<div class="col-lg-4">
912
					<div class="col-lg-4">
Line 971... Line 954...
971
	$(".fk_more").live('click', function() {
954
	$(".fk_more").live('click', function() {
972
		doGetAjaxRequestHandler(context + "/more-sales", function(response) {
955
		doGetAjaxRequestHandler(context + "/more-sales", function(response) {
973
			console.log(response);
956
			console.log(response);
974
		});
957
		});
975
	});
958
	});
976
	$("#description-offer").live(
-
 
977
			"click",
-
 
978
			function(e) {
-
 
979
			var des = $(this).data('description');
-
 
980
			var nameArr= []
-
 
981
			     console.log(nameArr);
-
 
982
			
959
 
983
	        nameArr = des.split(',');
-
 
984
	        console.log(nameArr);
-
 
985
	    	for (x of nameArr) {
-
 
986
              $("#descriptionMenu").append('<li style="padding:5px;list-style:square;">'+x+'</li>');
-
 
987
            }
-
 
988
	    		
-
 
989
			});
-
 
990
			
960
			
991
			
961
			
992
			
962
			
993
			$(".cancel-description").live(
963
			$(".cancel-description").live(
994
			"click",
964
			"click",