[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.95,1.96
Mark Wells
mark at wavetail.420.am
Thu Aug 26 14:10:28 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv18632
Modified Files:
voip_cdr.pm
Log Message:
fix bug affecting single_price calculation
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -w -d -r1.95 -r1.96
--- voip_cdr.pm 9 Aug 2010 20:30:22 -0000 1.95
+++ voip_cdr.pm 26 Aug 2010 21:10:25 -0000 1.96
@@ -699,6 +699,8 @@
$classnum = $rate_detail->classnum;
$charge = sprintf('%.2f', $charge);
+ warn "Incrementing \$charges by $charge. Now $charges\n" if $DEBUG;
+ $charges += $charge;
@call_details = (
$cdr->downstream_csv( 'format' => $output_format,
@@ -718,8 +720,6 @@
if ( $charge > 0 ) {
#just use FS::cust_bill_pkg_detail objects?
- warn "Incrementing \$charges by $charge. Now $charges\n" if $DEBUG;
- $charges += $charge;
my $call_details;
my $phonenum = $cust_svc->svc_x->phonenum;
More information about the freeside-commits
mailing list