remove useless view function/url, dont show invoice on a table if it has no items with it