diff options
| author | jeff <jeff> | 2007-04-06 19:41:57 +0000 |
|---|---|---|
| committer | jeff <jeff> | 2007-04-06 19:41:57 +0000 |
| commit | 59a1b6ce3bf606b2a3cc7638905431b5a73c3e2d (patch) | |
| tree | da4e44b3542e5cbc79609ccf168f3cdfbbe13a00 /httemplate/edit/cust_main/select-state.html | |
| parent | 393e423d6fef10ed5c3770d7c68c30d951ec54f6 (diff) | |
ticket 1443 add account type and bank state for echeck processing (backport)
Diffstat (limited to 'httemplate/edit/cust_main/select-state.html')
| -rw-r--r-- | httemplate/edit/cust_main/select-state.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/select-state.html b/httemplate/edit/cust_main/select-state.html index 87546e5e3..4f1c056b5 100644 --- a/httemplate/edit/cust_main/select-state.html +++ b/httemplate/edit/cust_main/select-state.html @@ -1,5 +1,9 @@ <SELECT NAME="<% $opt{'prefix'} %>state" onChange="<% $opt{'prefix'} %>state_changed(this); <% $opt{'onchange'} %>" <% $opt{'disabled'} %>> +% if ($opt{empty}) { + <OPTION VALUE=""<% $opt{state} eq '' ? ' SELECTED' : '' %>><% $opt{empty} %> +% } + % foreach my $state ( keys %states ) { <OPTION VALUE="<% $state %>"<% $state eq $opt{'state'} ? ' SELECTED' : '' %>><% $states{$state} || '(n/a)' %> @@ -11,7 +15,7 @@ <%init> my %opt = @_; -foreach my $opt (qw( county state country prefix onchange disabled )) { +foreach my $opt (qw( county state country prefix onchange disabled empty )) { $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_}); } |
