diff options
Diffstat (limited to 'httemplate/browse/pkg_category.html')
-rw-r--r-- | httemplate/browse/pkg_category.html | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/httemplate/browse/pkg_category.html b/httemplate/browse/pkg_category.html deleted file mode 100644 index 2c181a3..0000000 --- a/httemplate/browse/pkg_category.html +++ /dev/null @@ -1,32 +0,0 @@ -<% include( 'elements/browse.html', - 'title' => 'Package categories', - 'html_init' => $html_init, - 'name' => 'package categories', - 'disableable' => 1, - 'disabled_statuspos' => 3, - 'query' => { 'table' => 'pkg_category', - 'hashref' => {}, - 'order_by' => 'ORDER BY categorynum', - }, - 'count_query' => $count_query, - 'header' => [ '#', 'Category', 'Weight', 'Condense' ], - 'fields' => [ 'categorynum', 'categoryname', 'weight', 'condense' ], - 'links' => [ $link, $link, $link, $link ], - ) -%> - -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); - -my $html_init = - qq!<A HREF="${p}browse/pkg_class.html">Package classes</A><BR><BR>!. - 'Package categories define groups of package classes, used for sectioned invoices.<BR><BR>'. - qq!<A HREF="${p}edit/pkg_category.html"><I>Add a package category</I></A><BR><BR>!; - -my $count_query = 'SELECT COUNT(*) FROM pkg_category'; - -my $link = [ $p.'edit/pkg_category.html?', 'categorynum' ]; - -</%init> |