diff options
author | jeff <jeff> | 2007-04-27 22:37:07 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-04-27 22:37:07 +0000 |
commit | 905187f976c20e261b0b7dfdc6c6f30acbc12592 (patch) | |
tree | 1d0ee0f88ea6bf232a9677153fed3e55642ac78d /httemplate/edit | |
parent | 4e35589e637aa3a3615a780d4086085c5ecb1782 (diff) |
SELECT doesn't accept a value
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 1440db4a8..1eda82545 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -191,7 +191,7 @@ % % qq!<TR><TD ALIGN="right" WIDTH="200">${r}Account number </TD>!. % qq!<TD><INPUT TYPE="text" SIZE=12 NAME="payinfo1" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $account : '' ). '"></TD>'. -% qq!<TD ALIGN="right">Type</TD><TD><SELECT="text" NAME="paytype">!. +% qq!<TD ALIGN="right">Type</TD><TD><SELECT NAME="paytype">!. % join('', map { qq!<OPTION VALUE="$_" !.($paytype eq $_ ? 'SELECTED' : '').">$_</OPTION>" } @FS::cust_main::paytypes). % qq!</SELECT></TD></TR>!. % @@ -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', @@ -212,7 +213,10 @@ % 'state' => $cust_main->paystate, % 'country' => $cust_main->country, % 'prefix' => 'pay', -% ). "</TD></TR>". +% ). "</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>'. |