fix bug for purchase details
add manual_stock