Subversion Repositories SmartDukaan

Rev

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

Rev 34261 Rev 34861
Line 1... Line 1...
1
$(function () {
1
$(function () {
-
 
2
	$(document).on('click', ".franchisee-accounts", function () {
-
 
3
		console.log("Franchisee accounts clicked");
-
 
4
		loadFranchiseeAccount("main-content");
-
 
5
	});
2
 
6
 
3
	$(document).on('click', ".wallet-edit", function () {
7
	$(document).on('click', ".wallet-edit", function () {
4
		loadManualPayment("main-content");
8
		loadManualPayment("main-content");
5
	});
9
	});
6
 
10
 
Line 136... Line 140...
136
function loadManualPayment(domId) {
140
function loadManualPayment(domId) {
137
	doGetAjaxRequestHandler(context + "/manualPayment", function (response) {
141
	doGetAjaxRequestHandler(context + "/manualPayment", function (response) {
138
		$('#' + domId).html(response);
142
		$('#' + domId).html(response);
139
	});
143
	});
140
}
144
}
-
 
145
 
-
 
146
function loadFranchiseeAccount(domId) {
-
 
147
	doGetAjaxRequestHandler(context + "/loadFranchiseeAccount",
-
 
148
		function (response) {
-
 
149
			$('#' + domId).html(response);
-
 
150
		});
-
 
151
}