Subversion Repositories SmartDukaan

Rev

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

Rev 23637 Rev 23783
Line 134... Line 134...
134
	
134
	
135
});
135
});
136
 
136
 
137
 
137
 
138
function loadGoodInventory(domId, search_text){
138
function loadGoodInventory(domId, search_text){
139
	doGetAjaxRequestHandler(context+"/getCurrentInventorySnapshot/?searchTerm="+search_text, function(response){
139
	doGetAjaxRequestHandler(context+"/getCurrentInventorySnapshot?searchTerm="+search_text, function(response){
140
		$('#' + domId).html(response);
140
		$('#' + domId).html(response);
141
	});
141
	});
142
}
142
}
143
 
143
 
144
function loadCatalog(domId, search_text){
144
function loadCatalog(domId, search_text){
145
	doGetAjaxRequestHandler(context+"/getCatalog/?searchTerm="+search_text, function(response){
145
	doGetAjaxRequestHandler(context+"/getCatalog?searchTerm="+search_text, function(response){
146
		$('#' + domId).html(response);
146
		$('#' + domId).html(response);
147
	});
147
	});
148
}
148
}
149
 
149
 
150
function getInventoryItemAgingByInterval(domId, searchContent){
150
function getInventoryItemAgingByInterval(domId, searchContent){
Line 160... Line 160...
160
			data, "InventoryItemAging.xlsx");
160
			data, "InventoryItemAging.xlsx");
161
	
161
	
162
}
162
}
163
 
163
 
164
function downloadReports(){
164
function downloadReports(){
165
	doGetAjaxRequestHandler(context+"/reports/", function(response){
165
	doGetAjaxRequestHandler(context+"/reports", function(response){
166
		$('#main-content').html(response);
166
		$('#main-content').html(response);
167
	});
167
	});
168
}
168
}
169
 
169
 
170
function downloadItemLedgerReport(){
170
function downloadItemLedgerReport(){
Line 187... Line 187...
187
	
187
	
188
}
188
}
189
 
189
 
190
 
190
 
191
function loadBadInventory(domId, search_text){
191
function loadBadInventory(domId, search_text){
192
	doGetAjaxRequestHandler(context+"/getBadInventorySnapshot/?searchTerm="+search_text, function(response){
192
	doGetAjaxRequestHandler(context+"/getBadInventorySnapshot?searchTerm="+search_text, function(response){
193
		$('#' + domId).html(response);
193
		$('#' + domId).html(response);
194
	});
194
	});
195
}
195
}
196
 
196
 
197
function loadGoodInventorySearchInfo(search_text){
197
function loadGoodInventorySearchInfo(search_text){