[freeside-commits] branch FREESIDE_3_BRANCH updated. 88ea76ec326f4698331f38c0b055d5e690d87086

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


The branch, FREESIDE_3_BRANCH has been updated
       via  88ea76ec326f4698331f38c0b055d5e690d87086 (commit)
       via  59340bb2d8c9bd8445b6890da2a57b6f004b4b97 (commit)
      from  cee1acbe4e7c3bc6ce12cc3b665b742dd28fd2e1 (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 88ea76ec326f4698331f38c0b055d5e690d87086
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jun 12 12:35:28 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 59340bb2d8c9bd8445b6890da2a57b6f004b4b97
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jun 12 12:33:34 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