diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-10-14 20:49:38 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-10-14 20:49:38 -0500 |
commit | d4114381c5d95e8acd0d0fc2bbc2b3528bde2ecf (patch) | |
tree | 0faeea2676923a328eed57019d8365bf8998a95c /FS/FS/Upgrade.pm | |
parent | c5a2d3613acdc3b9ab6f32eaf5316c2834071417 (diff) |
72901: OFM Freeside Note Classes
Diffstat (limited to 'FS/FS/Upgrade.pm')
-rw-r--r-- | FS/FS/Upgrade.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index c959ba9..1c1095e 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 |