ESDEV-1766 Implement agreement validation in basket confirmation step Reformatting code