support 2009 - a better way?
authorjeff <jeff>
Tue, 18 Aug 2009 12:21:41 +0000 (12:21 +0000)
committerjeff <jeff>
Tue, 18 Aug 2009 12:21:41 +0000 (12:21 +0000)
FS/FS/Conf.pm
httemplate/edit/cust_main/bottomfixup.js

index 66d8be9..1ee0214 100644 (file)
@@ -2735,7 +2735,7 @@ worry that config_items is freeside-specific and icky.
     'section'     => 'UI',
     'description' => 'The year to use in census tract lookups',
     'type'        => 'select',
-    'select_enum' => [ qw( 2008 2007 2006 ) ],
+    'select_enum' => [ qw( 2009 2008 2007 2006 ) ],
   },
 
   {
index 61d7220..d6706a5 100644 (file)
@@ -242,7 +242,7 @@ function post_geocode() {
   var cf = document.CustomerForm;
   var state_el = cf.elements['ship_state'];
   var census_data = new Array(
-    'year',   <% $conf->config('census_year') || '2008' %>,
+    'year',   <% $conf->config('census_year') || '2009' %>,
     'address', cf.elements['ship_address1'].value,
     'city',    cf.elements['ship_city'].value,
     'state',   state_el.options[ state_el.selectedIndex ].value,