Fixed a small style bug in orders

Fixed a bug where add items to cart would return err when inventory was equal to request