stock bill edit function complete