Subversion Repositories SmartDukaan

Rev

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

Rev 27357 Rev 27358
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-offerId = "$offer.getId()" 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
Line 955... Line 955...
955
		doGetAjaxRequestHandler(context + "/more-sales", function(response) {
955
		doGetAjaxRequestHandler(context + "/more-sales", function(response) {
956
			console.log(response);
956
			console.log(response);
957
		});
957
		});
958
	});
958
	});
959
	
959
	
960
	
960
 
961
	$("#description-offer").live(
961
	$("#description-offer").live(
962
			"click",
962
			"click",
963
			function(e) {
963
			function(e) {
964
			var offerid = $(this).data('offerId');
964
			var offerid = $(this).data('offerid');
965
			console.log(offerid);
965
			console.log(offerid);
966
			doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
966
			doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
967
					+ offerid, function(response) {
967
					+ offerid, function(response) {
968
				$('.offer-margin-container .modal-content').html(response);
968
				$('.offer-margin-container .modal-content').html(response);
969
			});
969
			});