diff options
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/edit/cust_main/billing.html | 4 | ||||
| -rw-r--r-- | httemplate/view/cust_main/billing.html | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 3f57af89a..ad35a1e3f 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -205,6 +205,7 @@ % % qq!<TR><TD ALIGN="right" WIDTH="200">${r}Bank name </TD>!. % qq!<TD COLSPAN="3" WIDTH="408"><INPUT TYPE="text" NAME="payname" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $cust_main->payname : '' ). qq!"></TD></TR>!. + ( $conf->exists('show_bankstate) ? % qq!<TR><TD ALIGN="right" WIDTH="200">$paystate_label</TD>!. % qq!<TD COLSPAN="3" WIDTH="408">!. % include('select-state.html', @@ -213,6 +214,9 @@ % 'country' => $cust_main->country, % 'prefix' => 'pay', % ). "</TD></TR>". +% : '<INPUT TYPE="hidden" NAME="paystate" VALUE ="'. +% $cust_main->paystate. '">' +% ). % % % qq!<TR><TD COLSPAN=4 WIDTH="608"><INPUT TYPE="checkbox" NAME="payauto" !. ( $payby eq 'DCHK' ? '' : 'CHECKED' ). '> Charge future payments to this electronic check automatically</TD></TR>'. diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 50e1c82cd..8562f9374 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -98,10 +98,12 @@ Billing information <TD ALIGN="right">Bank name</TD> <TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD> </TR> +% if ( $conf->exists('show_bankstate') ) { <TR> <TD ALIGN="right"><% $paystate_label %></TD> <TD BGCOLOR="#ffffff"><% $cust_main->paystate || ' ' %></TD> </TR> +% } % } elsif ( $cust_main->payby eq 'LECB' ) { % $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/; % my $payinfo = "$1-$2-$3"; |
