Got the ajax method of adding a stock to work. But the js response is not done.
the add stock refreshes the table properly
solving merge issues