summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2002-11-19 09:51:59 +0000
committerivan <ivan>2002-11-19 09:51:59 +0000
commit789c34c5251f4b831a7cb27bd2a9af700ccf2ced (patch)
treecfdee230d56d5454bbf45d5643945871161f4c5c /httemplate/view
parentd9877cfc04344365f799b52057a13fc39c5743b7 (diff)
add LEC billing
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_main.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 7dbdc1356..c49efa653 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -231,6 +231,13 @@ if ( $conf->config('payby-default') ne 'HIDE' ) {
'<TR><TD ALIGN="right">Bank name</TD><TD BGCOLOR="#ffffff">',
$cust_main->payname, '</TD></TR>'
;
+ } elsif ( $cust_main->payby eq 'LECB' ) {
+ $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/;
+ my $payinfo = "$1-$2-$3";
+ print 'Phone bill billing</TD></TR>',
+ '<TR><TD ALIGN="right">Phone number</TD><TD BGCOLOR="#ffffff">',
+ $payinfo, '</TD></TR>',
+ ;
} elsif ( $cust_main->payby eq 'BILL' ) {
print 'Billing</TD></TR>';
print '<TR><TD ALIGN="right">P.O. </TD><TD BGCOLOR="#ffffff">',