projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix static RT image copy
[freeside.git]
/
FS
/
FS
/
Upgrade.pm
diff --git
a/FS/FS/Upgrade.pm
b/FS/FS/Upgrade.pm
index
263230b
..
c554678
100644
(file)
--- a/
FS/FS/Upgrade.pm
+++ b/
FS/FS/Upgrade.pm
@@
-160,6
+160,11
@@
If you need to continue using the old Form 477 report, turn on the
$conf->delete('batch-errors_to');
}
$conf->delete('batch-errors_to');
}
+ if ( $conf->exists('voip-cust_email_csv_cdr') ) {
+ $conf->set('voip_cdr_email_attach', 'csv');
+ $conf->delete('voip-cust_email_csv_cdr') ;
+ }
+
enable_banned_pay_pad() unless length($conf->config('banned_pay-pad'));
}
enable_banned_pay_pad() unless length($conf->config('banned_pay-pad'));
}
@@
-297,7
+302,7
@@
sub upgrade {
# decrypt inadvertantly-encrypted payinfo where payby != CARD,DCRD,CHEK,DCHK
# kind of a weird spot for this, but it's better than duplicating
# all this code in each class...
# decrypt inadvertantly-encrypted payinfo where payby != CARD,DCRD,CHEK,DCHK
# kind of a weird spot for this, but it's better than duplicating
# all this code in each class...
- my @decrypt_tables = qw( cust_
main
cust_pay_void cust_pay cust_refund cust_pay_pending );
+ my @decrypt_tables = qw( cust_
payby
cust_pay_void cust_pay cust_refund cust_pay_pending );
foreach my $table ( @decrypt_tables ) {
my @objects = qsearch({
'table' => $table,
foreach my $table ( @decrypt_tables ) {
my @objects = qsearch({
'table' => $table,
@@
-350,6
+355,11
@@
sub upgrade_data {
#customer credits
'cust_credit' => [],
#customer credits
'cust_credit' => [],
+ # reason / void_reason migration to reasonnum / void_reasonnum
+ 'cust_credit_void' => [],
+ 'cust_bill_void' => [],
+ 'cust_bill_pkg_void' => [],
+
#duplicate history records
'h_cust_svc' => [],
#duplicate history records
'h_cust_svc' => [],