[freeside-commits] freeside/FS/FS/cust_main Billing.pm,1.22,1.23

Ivan,,, ivan at wavetail.420.am
Thu Jan 13 18:51:43 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv27997/cust_main

Modified Files:
	Billing.pm 
Log Message:
fix declined signup of prepaid package provisioning to RADIUS anyway, RT#10122

Index: Billing.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Billing.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -d -r1.22 -r1.23
--- Billing.pm	13 Jan 2011 16:35:16 -0000	1.22
+++ Billing.pm	14 Jan 2011 02:51:41 -0000	1.23
@@ -547,7 +547,7 @@
     #create the new invoice
     my $cust_bill = new FS::cust_bill ( {
       'custnum'             => $self->custnum,
-      '_date'               => ( $invoice_time ),
+      '_date'               => $invoice_time,
       'charged'             => $charged,
       'billing_balance'     => $balance,
       'previous_balance'    => $previous_balance,
@@ -946,6 +946,7 @@
         if $DEBUG >1;
   
       my $error = $cust_pkg->replace( $old_cust_pkg,
+                                      'depend_jobnum'=>$options{depend_jobnum},
                                       'options' => { $cust_pkg->options },
                                     )
         unless $options{no_commit};



More information about the freeside-commits mailing list