X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUI%2FWeb%2Fsmall_custview.pm;h=f8e202092e390bdc04f2a610806471fa0fd6b36d;hb=7b125e587a4d1ee0aca692e23ea7897f671855ae;hp=4c705c1591e630733160a3929ebcd7f5eef8556f;hpb=4776afec802191dac6dcaffe04c8295b57f01c57;p=freeside.git diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm index 4c705c159..f8e202092 100644 --- a/FS/FS/UI/Web/small_custview.pm +++ b/FS/FS/UI/Web/small_custview.pm @@ -33,7 +33,7 @@ sub small_custview { $html = qq!View ' if $url; - $html .= 'Customer #'. $cust_main->custnum. ''. + $html .= 'Customer #'. $cust_main->display_custnum. ''. ' - '. ucfirst($cust_main->status). ''. ntable('#e8e8e8'). ''. ntable("#cccccc",2). @@ -112,5 +112,18 @@ sub small_custview { $html; } +#bah. don't want to pull in all of FS::CGI, that's the whole problem in the +#first place +sub ntable { + my $col = shift; + my $cellspacing = shift || 0; + if ( $col ) { + qq!!; + } else { + '
'; + } + +} + 1;