Subversion Repositories SmartDukaan

Rev

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

Rev 28713 Rev 29268
Line 29... Line 29...
29
		
29
		
30
		}
30
		}
31
		
31
		
32
 
32
 
33
	});
33
	});
-
 
34
	
-
 
35
	$(document).on('click', ".partner-info", function() {
-
 
36
		var userIds ={};
-
 
37
		userIds['userIds'] =$('#fofo-users').val();
-
 
38
		console.log(userIds)  
-
 
39
		doPostAjaxRequestWithJsonHandler(context+"/getPartnerinfo", JSON.stringify(userIds), function(response){
-
 
40
			
-
 
41
			$('.storePartnerInfo').html(response);
-
 
42
		});
-
 
43
		
-
 
44
	});
34
	$(document).on('click', ".active-store", function() {
45
	$(document).on('click', ".active-store", function() {
-
 
46
		store("main-content");
-
 
47
	});
-
 
48
	$(document).on('click', ".allStoreInfo", function() {
35
		storeInfo("main-content");
49
		storeInfo("main-content");
36
	});
50
	});
-
 
51
	
-
 
52
	
37
	$(document).on('click', ".inactive-store", function() {
53
	$(document).on('click', ".inactive-store", function() {
38
		inactiveStoreInfo("main-content");
54
		inactiveStoreInfo("main-content");
39
	});
55
	});
40
	$(document).on('click', ".retailer-info", function() {
56
	$(document).on('click', ".retailer-info", function() {
41
		retailerInfo("main-content");
57
		retailerInfo("main-content");
Line 365... Line 381...
365
	doGetAjaxRequestHandler(context + "/getAllStores", function(response) {
381
	doGetAjaxRequestHandler(context + "/getAllStores", function(response) {
366
		$('#' + domId).html(response);
382
		$('#' + domId).html(response);
367
	});
383
	});
368
}
384
}
369
 
385
 
-
 
386
function store(domId) {
-
 
387
	doGetAjaxRequestHandler(context + "/getstore", function(response) {
-
 
388
		$('#' + domId).html(response);
-
 
389
	});
-
 
390
}
370
function inactiveStoreInfo(domId) {
391
function inactiveStoreInfo(domId) {
371
	doGetAjaxRequestHandler(context + "/getAllInactiveStores", function(
392
	doGetAjaxRequestHandler(context + "/getAllInactiveStores", function(
372
		response) {
393
		response) {
373
		$('#' + domId).html(response);
394
		$('#' + domId).html(response);
374
	});
395
	});