Made view_offer use the visible_offers directive