Subversion Repositories SmartDukaan

Rev

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

Rev 29937 Rev 34142
Line 54... Line 54...
54
			inventoryTable.rows().remove().rows.add($(response)).draw(false);
54
			inventoryTable.rows().remove().rows.add($(response)).draw(false);
55
		});
55
		});
56
	});*/
56
	});*/
57
	$(document).on('click', '#inventory-container a', function (){
57
	$(document).on('click', '#inventory-container a', function (){
58
		itemId=$(this).data('id');
58
		itemId=$(this).data('id');
-
 
59
		if(!fofoId){
-
 
60
			fofoId =$('select[name="fofo-users"]').val();
-
 
61
			console.log("fofo Id -"+fofoId);
-
 
62
		}
59
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId + "/" + itemId, "GET", function(response){
63
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId + "/" + itemId, "GET", function(response){
60
			returnsTable.rows().remove().rows.add($(response)).draw(false);
64
			returnsTable.rows().remove().rows.add($(response)).draw(false);
61
		});
65
		});
62
	});
66
	});
63
});
67
});