diff options
| author | ivan <ivan> | 2008-12-28 18:48:16 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-12-28 18:48:16 +0000 |
| commit | e8783189b8e95a013e7f56c750083832e6c2a198 (patch) | |
| tree | ec4901131ef5ab7f6f56e4007c4007bc25aa4e41 /httemplate/edit/cust_main/select-state.html | |
| parent | 47fb113107c52d76663496eb7b5c06aa20f45978 (diff) | |
fix browse results for selecting counties (resulting from separating tax classes), also add dropdowns to browse by state and county, RT#4496
Diffstat (limited to 'httemplate/edit/cust_main/select-state.html')
| -rw-r--r-- | httemplate/edit/cust_main/select-state.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/httemplate/edit/cust_main/select-state.html b/httemplate/edit/cust_main/select-state.html deleted file mode 100644 index 4f1c056b5..000000000 --- a/httemplate/edit/cust_main/select-state.html +++ /dev/null @@ -1,24 +0,0 @@ -<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)' %> - -% } - - -</SELECT> - -<%init> -my %opt = @_; -foreach my $opt (qw( county state country prefix onchange disabled empty )) { - $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_}); -} - -tie my %states, 'Tie::IxHash', states_hash( $opt{'country'} ); -</%init> - |
