[freeside-commits] freeside/FS/FS/cust_main Billing.pm, 1.18.2.2, 1.18.2.3

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


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	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.18.2.2
retrieving revision 1.18.2.3
diff -u -w -d -r1.18.2.2 -r1.18.2.3
--- Billing.pm	23 Nov 2010 01:52:22 -0000	1.18.2.2
+++ Billing.pm	14 Jan 2011 02:51:42 -0000	1.18.2.3
@@ -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,
@@ -940,6 +940,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