summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2007-04-07 00:07:07 +0000
committerjeff <jeff>2007-04-07 00:07:07 +0000
commitab02d4756be1fca80ef12ae74f4dda9ee5f01106 (patch)
tree0e99e44fcbc78e64d0a25fe9f9220497cd127587 /httemplate
parent45583b397d64be8c31cba0334ad89e41f4ac1d0e (diff)
ommitted file
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/billing.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index b73270c6c..b817de1f4 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -81,10 +81,14 @@ Billing information
<TR>
<TD ALIGN="right">Account number</TD>
<TD BGCOLOR="#ffffff"><% 'x'x(length($account)-2). substr($account,(length($account)-2)) %></TD>
+ <TD ALIGN="right">Account type</TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->paytype %></TD>
</TR>
<TR>
<TD ALIGN="right">Bank name</TD>
<TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
+ <TD ALIGN="right"><% $paystate_label %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->paystate || '&nbsp;&nbsp;&nbsp;' %></TD>
</TR>
% } elsif ( $cust_main->payby eq 'LECB' ) {
% $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/;
@@ -186,11 +190,15 @@ Billing information
% }
</TABLE></TD></TR></TABLE>
-<%init>
+<%once>
+
+my $paystate_label = FS::Msgcat::_gettext('paystate');
+$paystate_label = 'Bank state' if $paystate_label =~/^paystate$/;
+</%once>
+<%init>
my( $cust_main ) = @_;
my @invoicing_list = $cust_main->invoicing_list;
my $conf = new FS::Conf;
my $money_char = $conf->config('money_char') || '$';
-
</%init>