X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=b817de1f4f1d5db629bb1efa2d4b17b49f2ad839;hb=ab02d4756be1fca80ef12ae74f4dda9ee5f01106;hp=b73270c6c61936f263017ba4f2c905c40b6b7f1c;hpb=f3c4bc88460be7576d81b9ca234b421950f48c01;p=freeside.git
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
Account number |
<% 'x'x(length($account)-2). substr($account,(length($account)-2)) %> |
+ Account type |
+ <% $cust_main->paytype %> |
Bank name |
<% $cust_main->payname %> |
+ <% $paystate_label %> |
+ <% $cust_main->paystate || ' ' %> |
% } elsif ( $cust_main->payby eq 'LECB' ) {
% $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/;
@@ -186,11 +190,15 @@ Billing information
% }
-<%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>