X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=6fe759bd91869f8d488e94d3296348450edc8d33;hb=0354f39ed0e74fd2eae1d9da13906625b4f56591;hp=25260fa3c2eaf16ed759a62751ae5bbade56a911;hpb=b97ccb2b958567490841cfc93d2c4a401d98cdb0;p=freeside.git
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 25260fa3c..6fe759bd9 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -83,9 +83,13 @@ print '',
$cust_main->country,
'',
;
- print '
Day Phone | ',
+ my $daytime_label = FS::Msgcat::_gettext('daytime') || 'Day Phone';
+ my $night_label = FS::Msgcat::_gettext('night') || 'Night Phone';
+ print ' |
'. $daytime_label.
+ ' | ',
$cust_main->daytime || ' ', ' |
',
- 'Night Phone | ',
+ ' |
'. $night_label.
+ ' | ',
$cust_main->night || ' ', ' |
',
'Fax | ',
$cust_main->fax || ' ', ' |
',
@@ -122,10 +126,10 @@ print '',
$cust_main->get("${pre}country"),
'',
;
- print 'Day Phone | ',
+ print '
'. $daytime_label. ' | ',
'',
$cust_main->get("${pre}daytime") || ' ', ' |
',
- 'Night Phone | '.
+ '
'. $night_label. ' | '.
'',
$cust_main->get("${pre}night") || ' ', ' |
',
'Fax | ',
@@ -217,6 +221,23 @@ if ( $conf->config('payby-default') ne 'HIDE' ) {
' |
Name on card | ',
$cust_main->payname, ' |
'
;
+ } elsif ( $cust_main->payby eq 'CHEK' ) {
+ my( $account, $aba ) = split('@', $cust_main->payinfo );
+ print 'Electronic check',
+ 'Account number | ',
+ $account, ' |
',
+ 'ABA/Routing code | ',
+ $aba, ' |
',
+ 'Bank name | ',
+ $cust_main->payname, ' |
'
+ ;
+ } elsif ( $cust_main->payby eq 'LECB' ) {
+ $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/;
+ my $payinfo = "$1-$2-$3";
+ print 'Phone bill billing',
+ 'Phone number | ',
+ $payinfo, ' |
',
+ ;
} elsif ( $cust_main->payby eq 'BILL' ) {
print 'Billing';
print 'P.O. | ',
@@ -259,14 +280,14 @@ print ' '.
qq!!.
' |