[freeside-commits] freeside/FS/FS/part_event/Action cust_bill_fee_percent.pm, 1.7, 1.7.2.1 fee.pm, 1.7, 1.7.2.1

Ivan,,, ivan at wavetail.420.am
Sun Oct 11 23:43:52 PDT 2009


Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Action
In directory wavetail.420.am:/tmp/cvs-serv11633

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_bill_fee_percent.pm fee.pm 
Log Message:
fix for no finance_pkgclass set

Index: fee.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Action/fee.pm,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- fee.pm	5 Oct 2009 00:49:34 -0000	1.7
+++ fee.pm	12 Oct 2009 06:43:50 -0000	1.7.2.1
@@ -32,7 +32,7 @@
     'amount'   => $self->option('charge'),
     'pkg'      => $self->option('reason'),
     'taxclass' => $self->option('taxclass'),
-    'classnum' => $conf->config('finance_pkgclass'),
+    'classnum' => scalar($conf->config('finance_pkgclass')),
     'setuptax' => $self->option('setuptax'),
   );
 

Index: cust_bill_fee_percent.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Action/cust_bill_fee_percent.pm,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- cust_bill_fee_percent.pm	5 Oct 2009 00:49:34 -0000	1.7
+++ cust_bill_fee_percent.pm	12 Oct 2009 06:43:49 -0000	1.7.2.1
@@ -40,7 +40,7 @@
     'amount'   => $amount,
     'pkg'      => $self->option('reason'),
     'taxclass' => $self->option('taxclass'),
-    'classnum'   => $conf->config('finance_pkgclass'),
+    'classnum' => scalar($conf->config('finance_pkgclass')),
     'setuptax' => $self->option('setuptax'),
   );
 



More information about the freeside-commits mailing list