add error check on prod del
add error check on prod del with view
stock controller, stock add view