added if statement so that orders on vendor admin only shows up when there are orders