Do not show the form if there are not carts for the date. Some refactoring updates