X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=3ab47fe28d5c15c8133a0a21aa88ce51f76e22bd;hb=e39f81dae87d882c0ea4f6f1918fa9cae6d2fc61;hp=5dde2e59580e5df969ba625dcc5021ae71207de0;hpb=600a0939e7e7e589dae4f4f5bfef3650728940b7;p=freeside.git diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html index 5dde2e595..3ab47fe28 100644 --- a/httemplate/edit/inventory_class.html +++ b/httemplate/edit/inventory_class.html @@ -1,9 +1,16 @@ -<%= include( 'elements/edit.html', +<% include( 'elements/edit.html', 'name' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { 'classnum' => 'Class number', 'classname' => 'Class name', }, + 'viewall_dir' => 'browse', ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +