[freeside-commits] branch master updated. d08a4af5ba980ca3df5f821f63500e282d442f73

Mark Wells mark at 420.am
Wed Jun 12 12:58:39 PDT 2013


The branch, master has been updated
       via  d08a4af5ba980ca3df5f821f63500e282d442f73 (commit)
       via  0266575848902925e0615525e4466d835dbff2cf (commit)
      from  b08e4e3db911095e19371b66ec061dfff8a704d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d08a4af5ba980ca3df5f821f63500e282d442f73
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jun 12 12:52:08 2013 -0700

    disable unique-address check to avoid problems on 3.0, #23425

diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js
index 0de6d9d..9e18fa0 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>

commit 0266575848902925e0615525e4466d835dbff2cf
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jun 12 12:52:02 2013 -0700

    fix census tract formatting from EZLocate, #13763 and #23425

diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm
index 2ad8311..3ab1ea7 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',
   };
 }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Misc/Geo.pm                        |    2 +-
 httemplate/edit/cust_main/bottomfixup.js |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list