In Upper Darby, AES Compassionate Care had planned to open in the Highland Park neighborhood. In March, it had been given the green light to set up shop in a section zoned C1, where pharmacies and medical offices, among others, are permitted, said lawyer Ted Flowers of Moriconi Flowers, a boutique firm that represents medical marijuana clients. By the time AES received a dispensary permit in June, however, the township had rewritten its zoning code to relegate all medical marijuana facilities to industrial areas zoned C4. On Aug. 28, after the zoning board denied it a variance, AES said it would seek another site.