X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpkg_class.html;h=eb33c0fb0a31a7288d0b2a929b697cd3cc012b10;hp=97b0621ae58fefcdecfba44e1364666039115aab;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/httemplate/browse/pkg_class.html b/httemplate/browse/pkg_class.html index 97b0621ae..eb33c0fb0 100644 --- a/httemplate/browse/pkg_class.html +++ b/httemplate/browse/pkg_class.html @@ -5,6 +5,7 @@ 'disableable' => 1, 'disabled_statuspos' => 2, 'query' => { 'table' => 'pkg_class', + 'addl_from' => ' LEFT JOIN pkg_category USING (categorynum)', 'hashref' => {}, 'order_by' => 'ORDER BY classnum', }, @@ -19,6 +20,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +my $conf = new FS::Conf; + my $html_init = 'Package classes define groups of packages, for taxation, ordering '. 'convenience and reporting.

'. @@ -40,7 +43,7 @@ $sth->execute if ($sth->fetchrow_arrayref->[0]) { push @$header, 'Category'; push @$fields, 'categoryname'; - push @$links, $link; + push @$links, [ $p.'edit/pkg_category.html?', 'categorynum' ] }