adding view and template for materials inventory manage