Subversion Repositories SmartDukaan

Rev

Rev 27754 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27754 Rev 27755
Line 1... Line 1...
1
$(function() {
1
$(function() {
2
	$(document).on('click', ".inventory-listing", function() {
2
	$(document).on('click', ".inventory-listing", function() {
3
		loadInventory("main-content");
3
		loadInventory("main-content");
4
	});
4
	});
5
 
5
 
6
	$("#warehouse-wise-billing")
6
	$(document).on('click', "#warehouse-wise-billing",
7
		.live(
-
 
8
			'click',
-
 
9
			function() {
7
			function() {
10
				var warehouseId = $('#warehouseMap').val();
8
				var warehouseId = $('#warehouseMap').val();
11
				doGetAjaxRequestHandler(context + "/inventory?warehouseIds=" + warehouseId,
9
				doGetAjaxRequestHandler(context + "/inventory?warehouseIds=" + warehouseId,
12
					function(response) {
10
					function(response) {
13
						$('#' + "main-content").html(response);
11
						$('#' + "main-content").html(response);