Fixed fatal error in sale when anything but an integer is entered
Now a error box will display if the the value is greater then the stock 
and if tanything else but an integer is added.