There wasn't a total ban in July. The council guidance from July says allowable if "sold as part of a home delivery or sold as a pre-packaged, properly sealed product such as a bottle of wine or cans of beer". The only thing banned on takeaways was unsealed drinks for immediate consumption.