summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/Misc/Geo.pm2
-rw-r--r--httemplate/edit/cust_main/bottomfixup.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm
index 71098ebb2..53efb3686 100644
--- a/FS/FS/Misc/Geo.pm
+++ b/FS/FS/Misc/Geo.pm
@@ -393,7 +393,7 @@ sub standardize_ezlocate {
latitude => $match->{MAT_LAT},
longitude => $match->{MAT_LON},
censustract => $match->{FIPS_ST}.$match->{FIPS_CTY}.
- sprintf('%04.2f',$match->{CEN_TRCT}),
+ sprintf('%07.2f',$match->{CEN_TRCT}),
addr_clean => 'Y',
};
}
diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js
index 0de6d9dab..9e18fa0df 100644
--- a/httemplate/edit/cust_main/bottomfixup.js
+++ b/httemplate/edit/cust_main/bottomfixup.js
@@ -10,8 +10,9 @@ my @fixups = ('copy_payby_fields', 'standardize_locations');
push @fixups, 'confirm_censustract'
if $conf->exists('cust_main-require_censustract');
-push @fixups, 'check_unique'
- if $conf->exists('cust_main-check_unique') and !$opt{'custnum'};
+# currently doesn't work; disable to avoid problems
+#push @fixups, 'check_unique'
+# if $conf->exists('cust_main-check_unique') and !$opt{'custnum'};
push @fixups, 'do_submit'; # always last
</%init>