This commit was manufactured by cvs2svn to create tag 'freeside_2_1_1'.
[freeside.git] / FS / FS / part_pkg / recur_Common.pm
index 9a67745..ec17c16 100644 (file)
@@ -4,9 +4,9 @@ use strict;
 use vars qw( @ISA %info %recur_method );
 use Tie::IxHash;
 use Time::Local;
-use FS::part_pkg::prorate_Mixin;
+use FS::part_pkg::prorate;
 
-@ISA = qw(FS::part_pkg::prorate_Mixin);
+@ISA = qw(FS::part_pkg::prorate);
 
 %info = ( 'disabled' => 1 ); #recur_Common not a usable price plan directly
 
@@ -27,7 +27,7 @@ sub calc_recur_Common {
     my $recur_method = $self->option('recur_method', 1) || 'anniversary';
                   
     if ( $recur_method eq 'prorate' 
-        or ($recur_method eq 'anniversary' and $self->option('sync_bill_date'))
+        or ($recur_method eq 'anniversary' and $self->option('sync_bill_date',1))
       ) {
       $charges = $self->calc_prorate(@_);
     }