[freeside-commits] freeside/FS/FS Upgrade.pm, 1.29, 1.30 part_pkg_option.pm, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Apr 23 13:34:15 PDT 2009
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.277, 1.278 cust_tax_location.pm, 1.9, 1.10 part_pkg_taxrate.pm, 1.9, 1.10 tax_class.pm, 1.6, 1.7 tax_rate.pm, 1.23, 1.24
- Next message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12931/FS/FS
Modified Files:
Upgrade.pm part_pkg_option.pm
Log Message:
add subscription option to voip_cdr
Index: part_pkg_option.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg_option.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- part_pkg_option.pm 15 Apr 2008 19:43:53 -0000 1.2
+++ part_pkg_option.pm 23 Apr 2009 20:34:13 -0000 1.3
@@ -127,11 +127,16 @@
sub _upgrade_data { # class method
my ($class, %opts) = @_;
- my $sql = "UPDATE part_pkg_option SETUP optionname = 'recur_fee'".
+ my $sql = "UPDATE part_pkg_option SET optionname = 'recur_fee'".
" WHERE optionname = 'recur_flat'";
my $sth = dbh->prepare($sql) or die dbh->errstr;
$sth->execute or die $sth->errstr;
+ $sql = "UPDATE part_pkg_option SET optionname = 'recur_method',".
+ "optionvalue = 'prorate' WHERE optionname = 'enable_prorate'";
+ $sth = dbh->prepare($sql) or die dbh->errstr;
+ $sth->execute or die $sth->errstr;
+
'';
}
Index: Upgrade.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Upgrade.pm,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Upgrade.pm 8 Apr 2009 07:32:24 -0000 1.29
+++ Upgrade.pm 23 Apr 2009 20:34:13 -0000 1.30
@@ -132,6 +132,9 @@
#change tax_rate column types
'tax_rate' => [],
+ #change recur_flat and enable_prorate
+ 'part_pkg_option' => [],
+
;
\%hash;
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.277, 1.278 cust_tax_location.pm, 1.9, 1.10 part_pkg_taxrate.pm, 1.9, 1.10 tax_class.pm, 1.6, 1.7 tax_rate.pm, 1.23, 1.24
- Next message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list