views for inventory and inventory subpages works