RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / browse / pkg_category.html
index 20bf1a8..67ee035 100644 (file)
@@ -3,15 +3,15 @@
                  'html_init'   => $html_init,
                  'name'        => 'package categories',
                  'disableable' => 1,
-                 'disabled_statuspos' => 2,
+                 'disabled_statuspos' => 3,
                  'query'       => { 'table'     => 'pkg_category',
                                     'hashref'   => {},
-                                    'extra_sql' => 'ORDER BY categorynum',
+                                    'order_by' => 'ORDER BY categorynum',
                                   },
                  'count_query' => $count_query,
-                 'header'      => [ '#', 'Category' ],
-                 'fields'      => [ 'categorynum', 'categoryname' ],
-                 'links'       => [ $link, $link ],
+                 'header'      => [ 'Category', 'Weight', 'Ticketing', 'Condense' ],
+                 'fields'      => [ 'categoryname', 'weight', 'ticketing_queue', 'condense' ],
+                 'links'       => [ $link, '', '', '', ]
              )
 %>
 
@@ -22,8 +22,7 @@ die "access denied"
 
 my $html_init = 
   qq!<A HREF="${p}browse/pkg_class.html">Package classes</A><BR><BR>!.
-  'Package categories define groups of package classes, for reporting and '.
-  'convenience purposes.<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';