Subversion Repositories SmartDukaan

Rev

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

Rev 27754 Rev 27755
Line 11... Line 11...
11
		doGetAjaxRequestHandler(context + "/getHygieneData?fofoId=" + fofoId, function(response) {
11
		doGetAjaxRequestHandler(context + "/getHygieneData?fofoId=" + fofoId, function(response) {
12
			$('#' + "main-content").html(response);
12
			$('#' + "main-content").html(response);
13
		});
13
		});
14
	});
14
	});
15
 
15
 
16
	$(".fetchDetail").live(
16
	$(document).on('click', ".fetchDetail",
17
		'click',
-
 
18
		function() {
17
		function() {
19
 
18
 
20
			doGetAjaxRequestHandler(context + "/getFetchHygieneData",
19
			doGetAjaxRequestHandler(context + "/getFetchHygieneData",
21
				function(response) {
20
				function(response) {
22
 
21
 
Line 27... Line 26...
27
					$('#hygiene-detail').hide();
26
					$('#hygiene-detail').hide();
28
 
27
 
29
				});
28
				});
30
		});
29
		});
31
 
30
 
32
	$(".fetch").live(
31
	$(document).on('click', ".fetch",
33
		'click',
-
 
34
		function() {
32
		function() {
35
			var id = $(this).data('requestid');
33
			var id = $(this).data('requestid');
36
			console.log(id);
34
			console.log(id);
37
			doGetAjaxRequestHandler(context
35
			doGetAjaxRequestHandler(context
38
				+ "/getFetchHygieneDataByOrderId?orderId=" + id, function(
36
				+ "/getFetchHygieneDataByOrderId?orderId=" + id, function(
Line 45... Line 43...
45
				$("#textRemark").hide();
43
				$("#textRemark").hide();
46
 
44
 
47
			});
45
			});
48
		});
46
		});
49
 
47
 
50
	$(".add-customer-feedback").live(
48
	$(document).on('click', ".add-customer-feedback",
51
		'click',
-
 
52
		function() {
49
		function() {
53
			var hygieneData = {}
50
			var hygieneData = {}
54
			var status = $('#status').val();
51
			var status = $('#status').val();
55
 
52
 
56
			var val = $("#remark").val();
53
			var val = $("#remark").val();