add sdate and edate to cust_bill_pay_pkg and cust_credit_bill_pkg tables
[freeside.git] / FS / FS / cust_bill_ApplicationCommon.pm
index fa5f53b..a214ebe 100644 (file)
@@ -173,6 +173,8 @@ sub apply_to_lineitems {
       'billpkgnum' => $cust_bill_pkg->billpkgnum,
       'amount'     => $amount,
       'setuprecur' => ( $cust_bill_pkg->setup > 0 ? 'setup' : 'recur' ),
+      'sdate'      => $cust_bill_pkg->sdate,
+      'edate'      => $cust_bill_pkg->edate,
     });
     my $error = $application->insert;
     if ( $error ) {