X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcust_class.html;h=a35c045cf8208b1547301e6125ada7493de66cc4;hb=b65bbe5e2161ac6dd4e0e8239ccb7249e001639f;hp=70a279a055e8a92fb5164d701d4b798c015aaf87;hpb=d09facc6cc8c60cc3e82c656c827a25a6995b3eb;p=freeside.git
diff --git a/httemplate/browse/cust_class.html b/httemplate/browse/cust_class.html
index 70a279a05..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 .= ' |
---|