projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#17599: display cancelled services from history [doc fix]
[freeside.git]
/
httemplate
/
browse
/
pkg_class.html
diff --git
a/httemplate/browse/pkg_class.html
b/httemplate/browse/pkg_class.html
index
f3e2364
..
eb33c0f
100644
(file)
--- 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',
'disableable' => 1,
'disabled_statuspos' => 2,
'query' => { 'table' => 'pkg_class',
+ 'addl_from' => ' LEFT JOIN pkg_category USING (categorynum)',
'hashref' => {},
'order_by' => 'ORDER BY classnum',
},
'hashref' => {},
'order_by' => 'ORDER BY classnum',
},
@@
-34,12
+35,6
@@
my $header = [ '#', 'Class' ];
my $fields = [ 'classnum', 'classname' ];
my $links = [ $link, $link ];
my $fields = [ 'classnum', 'classname' ];
my $links = [ $link, $link ];
-if($conf->exists('cust_main-require_censustract')) {
- push @{$fields}, 'fcc_ds0s';
- push @{$header}, 'FCC form 477 voice-grade equivalents';
- push @{$links}, '';
-}
-
my $cat_query = 'SELECT COUNT(*) FROM pkg_class where categorynum IS NOT NULL';
my $sth = dbh->prepare($cat_query)
or die "Error preparing $cat_query: ". dbh->errstr;
my $cat_query = 'SELECT COUNT(*) FROM pkg_class where categorynum IS NOT NULL';
my $sth = dbh->prepare($cat_query)
or die "Error preparing $cat_query: ". dbh->errstr;
@@
-48,7
+43,7
@@
$sth->execute
if ($sth->fetchrow_arrayref->[0]) {
push @$header, 'Category';
push @$fields, 'categoryname';
if ($sth->fetchrow_arrayref->[0]) {
push @$header, 'Category';
push @$fields, 'categoryname';
- push @$links,
$link;
+ push @$links,
[ $p.'edit/pkg_category.html?', 'categorynum' ]
}
</%init>
}
</%init>