X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=1c1095e37c630378406fbe0a3c1d1422f3a484a3;hp=3faf47e247e0e0958e9353e63541ebbb413140e9;hb=6a509099343ed155525c4304f1ad742cc6e4ce59;hpb=1aecd5bf33146bf3f374341a3814960ae1d419e8 diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 3faf47e24..1c1095e37 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -178,6 +178,14 @@ If you need to continue using the old Form 477 report, turn on the $conf->set('cust-fields',$cust_fields); } + #repurposed + $conf->set('note-classes','Enabled') + if $conf->exists('note-classes') + and grep {$_ eq $conf->config('note-classes')} ('1','2'); + $conf->set('note-classes','') + if $conf->exists('note-classes') + and '0' eq $conf->config('note-classes'); + enable_banned_pay_pad() unless length($conf->config('banned_pay-pad')); # if translate-auto-insert is enabled for a locale, ensure that invoice @@ -355,6 +363,9 @@ sub upgrade_data { #remap log levels 'log' => [], + #fix whitespace - before cust_main + 'cust_location' => [], + #cust_main (remove paycvv from history, locations, cust_payby, etc) 'cust_main' => [], @@ -484,9 +495,6 @@ sub upgrade_data { #mark certain taxes as system-maintained, # and fix whitespace 'cust_main_county' => [], - - #fix whitespace - 'cust_location' => [], ; \%hash;