[freeside-commits] freeside/FS/FS cust_main.pm, 1.586.2.19, 1.586.2.20

Ivan,,, ivan at wavetail.420.am
Mon Feb 13 14:09:31 PST 2012


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv13609/FS/FS

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	cust_main.pm 
Log Message:
default census_year to 2012 going forward, for 2010 census tracts

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.586.2.19
retrieving revision 1.586.2.20
diff -u -w -d -r1.586.2.19 -r1.586.2.20
--- cust_main.pm	12 Feb 2012 21:40:52 -0000	1.586.2.19
+++ cust_main.pm	13 Feb 2012 22:09:27 -0000	1.586.2.20
@@ -465,7 +465,7 @@
 
   $self->signupdate(time) unless $self->signupdate;
 
-  $self->censusyear($conf->config('census_year')) if $self->censustract;
+  $self->censusyear($conf->config('census_year')||'2012') if $self->censustract;
 
   $self->auto_agent_custid()
     if $conf->config('cust_main-auto_agent_custid') && ! $self->agent_custid;
@@ -1534,7 +1534,7 @@
 
   if ( $self->censustract ne '' and $self->censustract ne $old->censustract ) {
     # update censusyear whenever tract code changes
-    $self->censusyear($conf->config('census_year'));
+    $self->censusyear($conf->config('census_year')||'2012');
   }
 
 



More information about the freeside-commits mailing list