Subversion Repositories SmartDukaan

Rev

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

Rev 28362 Rev 28377
Line 50... Line 50...
50
				alert("please select date")
50
				alert("please select date")
51
				return false;
51
				return false;
52
			}
52
			}
53
 
53
 
54
			doGetAjaxRequestHandler(context
54
			doGetAjaxRequestHandler(context
55
				+ "/getAllOrdersByStatus?status=" + status + "&date=" + date, function(
55
				+ "/getAllOnlineOrder?&date=" + date, function(
56
					response) {
56
					response) {
57
				$('.order-item-detail').html(response);
57
				$('.order-item-detail').html(response);
58
			});
58
			});
59
		});
59
		});
60
 
60
 
61
 
61
 
-
 
62
	$(document).on('click', ".online-all-order-item",
-
 
63
		function() {
-
 
64
 
-
 
65
 
-
 
66
			doGetAjaxRequestHandler(context
-
 
67
				+ "/getAllOnlineOrder", function(
-
 
68
					response) {
-
 
69
				$('#' + "main-content").html(response);
-
 
70
			});
-
 
71
		});
-
 
72
 
-
 
73
 
-
 
74
	$(document).on('click', ".all-online-order",
-
 
75
		function() {
-
 
76
 
-
 
77
			var date = $(".order-date").val();
-
 
78
 
-
 
79
 
-
 
80
			doGetAjaxRequestHandler(context
-
 
81
				+ "/getAllOnlineOrder?date=" + date, function(
-
 
82
					response) {
-
 
83
				$('#' + "main-content").html(response);
-
 
84
			});
-
 
85
		});
-
 
86
 
62
	$(document).on('click', "button.pendingOrderDetail",
87
	$(document).on('click', "button.pendingOrderDetail",
63
		function() {
88
		function() {
64
			doGetAjaxRequestHandler(context
89
			doGetAjaxRequestHandler(context
65
				+ "/getPendingOrderItem?orderId=" + $(this).data('orderid'), function(
90
				+ "/getPendingOrderItem?orderId=" + $(this).data('orderid'), function(
66
					response) {
91
					response) {