Refactors orders index view into helpers and partials