fixed paginate, changed customer to franchisee and notification when order is delivered