public boolean checkEnoughStock() {
		ProductDAO dao = DAOFactory.getInstance().getProductDAO();
		int id;
		for (ProductInBasket product : basket.values()) {
			id = product.getProduct().getId();
			if (product.getQuantity() > dao.findProductStock(id)) {
				return false;
			}
		}
		return true;
	}