fixed categories migration,
modified batch schema
added sales ans purchase triggers to update stock
updated view to display stock
ui update
ui changes