Subversion Repositories SmartDukaan

Rev

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

Rev 28272 Rev 28381
Line 35... Line 35...
35
		brandsLimit("main-content")
35
		brandsLimit("main-content")
36
 
36
 
37
 
37
 
38
	});
38
	});
39
	
39
	
-
 
40
$(document).on('click', ".add-partner-pincode", function() {
-
 
41
		allPartnerPincode("main-content")
40
 
42
 
41
 
43
 
-
 
44
	});
-
 
45
 
42
 
46
 
43
	$(document).on('click', ".partnerInfoReadOnly",
47
	$(document).on('click', ".partnerInfoReadOnly",
44
		function() {
48
		function() {
45
 
49
 
46
			var fofoId = $('#fofo-users').val();
50
			var fofoId = $('#fofo-users').val();
Line 159... Line 163...
159
					}
163
					}
160
				});
164
				});
161
			}
165
			}
162
 
166
 
163
		});
167
		});
-
 
168
		
-
 
169
	
164
 
170
 
165
 
171
 
166
	$(document).on('click', ".addlocationbutton",
172
	$(document).on('click', ".addlocationbutton",
167
		function() {
173
		function() {
168
			var userId = $('#retailerId').text();
174
			var userId = $('#retailerId').text();
Line 335... Line 341...
335
		response) {
341
		response) {
336
		$('#' + domId).html(response);
342
		$('#' + domId).html(response);
337
	});
343
	});
338
}
344
}
339
 
345
 
-
 
346
function allPartnerPincode(domId) {
-
 
347
	doGetAjaxRequestHandler(context + "/getAllPartnerPincode", function(
-
 
348
		response) {
-
 
349
		$('#' + domId).html(response);
-
 
350
	});
-
 
351
}
-
 
352
 
340
function deactivateStore(domId, fofoId) {
353
function deactivateStore(domId, fofoId) {
341
	doPostAjaxRequestHandler(context + "/deactivateStore?fofoId=" + fofoId,
354
	doPostAjaxRequestHandler(context + "/deactivateStore?fofoId=" + fofoId,
342
		function(response) {
355
		function(response) {
343
			if (response == "true") {
356
			if (response == "true") {
344
				alert("successfully deactivated!");
357
				alert("successfully deactivated!");