[freeside-commits] freeside/FS/FS cust_main.pm,1.606,1.607

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


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

Modified Files:
	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.606
retrieving revision 1.607
diff -u -w -d -r1.606 -r1.607
--- cust_main.pm	12 Feb 2012 21:40:22 -0000	1.606
+++ cust_main.pm	13 Feb 2012 22:09:24 -0000	1.607
@@ -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