projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent Enter from submitting quick payment form, RT13651
[freeside.git]
/
httemplate
/
view
/
cust_main
/
billing.html
diff --git
a/httemplate/view/cust_main/billing.html
b/httemplate/view/cust_main/billing.html
index
26bd581
..
9f1ff8d
100644
(file)
--- a/
httemplate/view/cust_main/billing.html
+++ b/
httemplate/view/cust_main/billing.html
@@
-84,6
+84,8
@@
</TR>
% } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') {
% my( $account, $aba ) = split('@', $cust_main->paymask );
</TR>
% } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') {
% my( $account, $aba ) = split('@', $cust_main->paymask );
+% my $branch = '';
+% ($branch,$aba) = split('\.',$aba) if $conf->exists('cust_main-require-bank-branch');
% my $autodemand = $cust_main->payby eq 'CHEK' ? 'automatic' : 'on-demand';
% my $autodemand = $cust_main->payby eq 'CHEK' ? 'automatic' : 'on-demand';
@@
-94,16
+96,23
@@
<TD ALIGN="right"><% mt('ABA/Routing code') |h %></TD>
<TD BGCOLOR="#ffffff"><% $aba %></TD>
</TR>
<TD ALIGN="right"><% mt('ABA/Routing code') |h %></TD>
<TD BGCOLOR="#ffffff"><% $aba %></TD>
</TR>
+
+% if ( $conf->exists('cust_main-require-bank-branch') ) {
+<TR>
+ <TD ALIGN="right"><% mt('Branch number') |h %></TD>
+ <TD BGCOLOR="#ffffff"><% $branch %></TD>
<TR>
<TR>
+% }
+
<TD ALIGN="right"><% mt('Account number') |h %></TD>
<TD BGCOLOR="#ffffff"><% $account %></TD>
</TR>
<TR>
<TD ALIGN="right"><% mt('Account number') |h %></TD>
<TD BGCOLOR="#ffffff"><% $account %></TD>
</TR>
<TR>
- <TD ALIGN="right"
<% mt('>
Account type') |h %></TD>
+ <TD ALIGN="right"
><% mt('
Account type') |h %></TD>
<TD BGCOLOR="#ffffff"><% $cust_main->paytype %></TD>
</TR>
<TR>
<TD BGCOLOR="#ffffff"><% $cust_main->paytype %></TD>
</TR>
<TR>
- <TD ALIGN="right"
<% mt('>
Bank name') |h %></TD>
+ <TD ALIGN="right"
><% mt('
Bank name') |h %></TD>
<TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
</TR>
% if ( $conf->exists('show_bankstate') ) {
<TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
</TR>
% if ( $conf->exists('show_bankstate') ) {
@@
-203,12
+212,14
@@
<% ( grep { $_ eq 'FAX' } @invoicing_list ) ? $yes : $no %>
</TD>
</TR>
<% ( grep { $_ eq 'FAX' } @invoicing_list ) ? $yes : $no %>
</TD>
</TR>
+% unless ( $conf->exists('cust-email-high-visibility')) {
<TR>
<TD ALIGN="right"><% mt('Email invoices') |h %></TD>
<TD BGCOLOR="#ffffff">
<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %>
</TD>
</TR>
<TR>
<TD ALIGN="right"><% mt('Email invoices') |h %></TD>
<TD BGCOLOR="#ffffff">
<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %>
</TD>
</TR>
+% }
<TR>
<TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
<TD BGCOLOR="#ffffff">
<TR>
<TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
<TD BGCOLOR="#ffffff">
@@
-220,7
+231,7
@@
<TD BGCOLOR="#ffffff">
<% length($cust_main->credit_limit) ?
$money_char.sprintf("%.2f", $cust_main->credit_limit) :
<TD BGCOLOR="#ffffff">
<% length($cust_main->credit_limit) ?
$money_char.sprintf("%.2f", $cust_main->credit_limit) :
-
'Unlimited'
%>
+
emt('Unlimited')
%>
</TD>
</TR>
</TD>
</TR>