X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcust_class.html;h=a35c045cf8208b1547301e6125ada7493de66cc4;hb=4171d4440a6bf042f342095f13439a5f9d27487d;hp=d7c62283771f6ae7e216a47c0e3c7ff5bce11e04;hpb=033709735189caa804476fc17e9946809516fcf7;p=freeside.git
diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html
index d7c622837..a35c045cf 100644
--- a/httemplate/browse/cust_class.html
+++ b/httemplate/browse/cust_class.html
@@ -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 .= ' |
---|