diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/browse/inventory_class.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/browse/inventory_class.html')
-rw-r--r-- | httemplate/browse/inventory_class.html | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/httemplate/browse/inventory_class.html b/httemplate/browse/inventory_class.html deleted file mode 100644 index 2d85f12..0000000 --- a/httemplate/browse/inventory_class.html +++ /dev/null @@ -1,39 +0,0 @@ -<% include( 'elements/browse.html', - 'title' => 'Inventory Classes', - 'name' => 'inventory classes', - 'menubar' => $menubar, - 'query' => { 'table' => 'inventory_class', }, - 'count_query' => 'SELECT COUNT(*) FROM inventory_class', - 'header' => [ '#', 'Inventory class', 'Inventory' ], - 'fields' => [ 'classnum', - 'classname', - FS::inventory_class->countcell_factory( - 'p'=>$p, - ), - ], - 'links' => [ $link, - $link, - '', - ], - ) -%> -<%init> - -my $curuser = $FS::CurrentUser::CurrentUser; - -die "access denied" - unless $curuser->access_right('Edit inventory') - || $curuser->access_right('Edit global inventory') - || $curuser->access_right('Configuration'); - -my $menubar = $curuser->access_right('Configuration') - ? [ 'Add a new inventory class' => - $p.'edit/inventory_class.html', - ] - : []; - -my $link = $curuser->access_right('Configuration') - ? [ "${p}edit/inventory_class.html?", 'classnum' ] - : ''; - -</%init> |