diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-06-30 03:24:08 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 23:53:46 -0500 |
commit | 622c72770c971ae44d37dfb59a0f25972051a25a (patch) | |
tree | 6d4d5d76b5c468b0dd7cb351c80e3933859b2179 /httemplate/elements/city.html | |
parent | fa8a42b29c19f9cb692f409e6ac3d081010ec3f8 (diff) |
RT##29285: State field not needed for New Zealand
Diffstat (limited to 'httemplate/elements/city.html')
-rw-r--r-- | httemplate/elements/city.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/city.html b/httemplate/elements/city.html index 5f4d4e09e..4e9a60940 100644 --- a/httemplate/elements/city.html +++ b/httemplate/elements/city.html @@ -159,6 +159,11 @@ my $disable_select = 1 if $conf->config('tax_district_method'); $opt{'disable_empty'} = 1 unless exists($opt{'disable_empty'}); +if ($conf->exists('cust_main-no_city_in_address')) { + $opt{'disable_text'} = 1; + $disable_select = 1; +} + my $text_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : []; my $select_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : []; |