diff options
author | ivan <ivan> | 2009-10-12 01:45:12 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-12 01:45:12 +0000 |
commit | 0b94e40c533288be69a4fe60da36a385d31eff7f (patch) | |
tree | 8284d3c555e7b0cdfd731c567059f7f60319e3c0 /httemplate/edit/cust_main_county-expand.cgi | |
parent | 990e040448691dd4bd26c871274c65204cb7707b (diff) |
UI for per-city taxes (setup and assigning to customers/package locations), RT#5852
Diffstat (limited to 'httemplate/edit/cust_main_county-expand.cgi')
-rwxr-xr-x | httemplate/edit/cust_main_county-expand.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi index d5297ab0a..265dd1dab 100755 --- a/httemplate/edit/cust_main_county-expand.cgi +++ b/httemplate/edit/cust_main_county-expand.cgi @@ -37,9 +37,11 @@ my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum}) my $title; -die "Can't expand entry!" if $cust_main_county->county; +die "Can't expand entry!" if $cust_main_county->city; -if ( $cust_main_county->state ) { +if ( $cust_main_county->county ) { + $title = 'Cities'; +} elsif ( $cust_main_county->state ) { $title = 'Counties'; } else { $title = 'States/Provinces'; |