From 0b94e40c533288be69a4fe60da36a385d31eff7f Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 12 Oct 2009 01:45:12 +0000 Subject: UI for per-city taxes (setup and assigning to customers/package locations), RT#5852 --- httemplate/elements/location.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'httemplate/elements/location.html') diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 07aaa69f0..5478e1e1e 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -49,16 +49,7 @@ Example: <%$r%>City - - - <% $style %> - > - + <% include('/elements/city.html', %select_hash) %> ><%$r%>County <% include('/elements/select-county.html', %select_hash ) %> <%$r%>State @@ -123,7 +114,7 @@ $object->set($pre.'state', $statedefault ) || $object->get($pre.'country') ne $countrydefault; my @style = (); -push @style, 'background-color: #dddddd"' if $disabled; +push @style, 'background-color: #dddddd' if $disabled; my @address2_label_style = (); push @address2_label_style, 'visibility:hidden' @@ -152,6 +143,7 @@ my $county_style = : ''; my %select_hash = ( + 'city' => $object->get($pre.'city'), 'county' => $object->get($pre.'county'), 'state' => $object->get($pre.'state'), 'country' => $object->get($pre.'country'), -- cgit v1.2.1