X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=f5086853ed1feaa483eb88702d078e73acff3953;hb=38cd4a53e99e0583de526262b31a8b93debca4c7;hp=3146222885742d72a6b5c3b111a68bd0eadbe584;hpb=b403c08477da81266b789e103767f096daff4828;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 314622288..f5086853e 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -138,6 +138,13 @@ If you need to continue using the old Form 477 report, turn on the $conf->delete('tax-cust_exempt-groups-require_individual_nums'); } + # boolean+text previous_balance-exclude_from_total is now two separate options + my $total_new_charges = $conf->config('previous_balance-exclude_from_total'); + if (length($total_new_charges) > 0) { + $conf->set('previous_balance-text-total_new_charges', $total_new_charges); + $conf->set('previous_balance-exclude_from_total', ''); + } + } sub upgrade_overlimit_groups { @@ -406,6 +413,9 @@ sub upgrade_data { #populate state FIPS codes if not already done 'state' => [], + + #set default locations on quoted packages + 'quotation_pkg' => [], ; \%hash;