X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcust_class.html;h=a35c045cf8208b1547301e6125ada7493de66cc4;hb=a218049cc9560b1bfc98f5803fba18f9f804e11b;hp=da303cf72afe1bb26a08fb5af3993e314e3485bb;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git
diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html
index da303cf72..a35c045cf 100644
--- a/httemplate/browse/cust_class.html
+++ b/httemplate/browse/cust_class.html
@@ -6,7 +6,7 @@
'disabled_statuspos' => 2,
'query' => { 'table' => 'cust_class',
'hashref' => {},
- 'extra_sql' => 'ORDER BY classnum',
+ 'order_by' => 'ORDER BY classnum',
},
'count_query' => $count_query,
'header' => $header,
@@ -23,12 +23,62 @@ my $html_init =
'Customer classes define groups of customer for reporting.
'.
qq!Add a customer class
!;
+#cust_class-disable_counts? or just migrate this to one config probably
+#my $disable_counts = $conf->exists('agent-disable_counts');
+my $disable_counts = 0;
+
+my $customers_sub = sub {
+ my $cust_class = shift;
+
+ my $cust_main_link = $p. 'search/cust_main.html?'.
+ 'classnum='. $cust_class->classnum;
+
+ #false laziness w/agent.cgi
+ my $OUT = '
'. + ''. + $num. ' | '; + } + $OUT .= ''; + + if ( $num || $disable_counts ) { + $OUT .= ''; + } + $OUT .= exists($PL{$status}) ? $PL{$status} : $status; + if ($num || $disable_counts ) { + $OUT .= ''; + } + + $OUT .= ' |
---|