X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCGI.pm;h=9dc635ad22c41960f708e28477f1e8e1ebfa2172;hb=3cf7afe4ff9bc62d1a5c0d78aae35193251dca25;hp=86121f02e16abe3cef5806f6ec93d26163e10b58;hpb=0952f0a9264d575752393a0be1a3d3c6480f96ed;p=freeside.git diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm index 86121f02e..9dc635ad2 100644 --- a/FS/FS/CGI.pm +++ b/FS/FS/CGI.pm @@ -61,7 +61,7 @@ sub header {
- + $title'. ntable("#cccccc",2). + my $html = 'Customer #'. $cust_main->custnum. ''. + ' - '. + ucfirst($cust_main->status). ''. + ntable('#e8e8e8'). ' | |
'. ntable("#cccccc",2). ' | |
Billing Address | '.
$cust_main->getfield('last'). ', '. $cust_main->first. ' '; @@ -304,13 +309,27 @@ sub small_custview { $html .= $cust_main->country. ' ' if $cust_main->country && $cust_main->country ne $countrydefault; + $html .= ' |
';
+ if ( $cust_main->daytime && $cust_main->night ) {
+ use FS::Msgcat;
+ $html .= ( FS::Msgcat::_gettext('daytime') || 'Day' ).
+ ' '. $cust_main->daytime.
+ ' '. ( FS::Msgcat::_gettext('night') || 'Night' ). + ' '. $cust_main->night; + } elsif ( $cust_main->daytime || $cust_main->night ) { + $html .= $cust_main->daytime || $cust_main->night; + } + if ( $cust_main->fax ) { + $html .= ' Fax '. $cust_main->fax; + } + $html .= ' |