diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-06-12 13:28:41 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-12 13:28:41 -0700 |
commit | b6b3cfc0f5967d9c2c73202ab73cadfce2a63b67 (patch) | |
tree | 98eeb317f2e0768f5593c34c169329c20c943ec4 | |
parent | 5d3f0bee89466e382851b8d0f0c76de3f35bb6b6 (diff) | |
parent | d08a4af5ba980ca3df5f821f63500e282d442f73 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
-rw-r--r-- | FS/FS/Misc/Geo.pm | 2 | ||||
-rw-r--r-- | httemplate/edit/cust_main/bottomfixup.js | 5 |
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> |