X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=ddde55799c810287beebca0d7e79fb9331ec4b61;hp=8c5ae4770f2a7aa2cec19ddb221877e3d35ecf83;hb=c49cfd25a8f92c7a2f44b51d72506a21f6b8d09f;hpb=1a033848671cad2cbe7687b37fc718b3b2a68b83 diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html index 8c5ae4770..ddde55799 100644 --- a/httemplate/edit/inventory_class.html +++ b/httemplate/edit/inventory_class.html @@ -1,5 +1,5 @@ -<%= include( 'elements/edit.html', - 'name' => 'Inventory Class', +<% include( 'elements/edit.html', + 'name_singular' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { 'classnum' => 'Class number', @@ -8,3 +8,9 @@ 'viewall_dir' => 'browse', ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +