ommitted file (backport)
authorjeff <jeff>
Sat, 7 Apr 2007 00:17:36 +0000 (00:17 +0000)
committerjeff <jeff>
Sat, 7 Apr 2007 00:17:36 +0000 (00:17 +0000)
httemplate/view/cust_main/billing.html

index 1f80dc5..435403b 100644 (file)
@@ -89,10 +89,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})$/;
@@ -189,4 +193,9 @@ Billing information
 
 
 </TABLE></TD></TR></TABLE>
+<%once>
 
+my $paystate_label = FS::Msgcat::_gettext('paystate');
+$paystate_label = 'Bank state' if $paystate_label =~/^paystate$/;
+
+</%once>