[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.44,1.45
Ivan,,,
ivan at wavetail.420.am
Tue Jan 6 13:16:20 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv7741/part_pkg
Modified Files:
voip_cdr.pm
Log Message:
swap price to last column in default CDR output format; fix "all 0 prices" when using simple output format w/internal rating, RT#4503
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- voip_cdr.pm 31 Dec 2008 03:28:56 -0000 1.44
+++ voip_cdr.pm 6 Jan 2009 21:16:18 -0000 1.45
@@ -381,7 +381,10 @@
$charge = sprintf('%.3f', $cdr->upstream_price);
$charges += $charge;
- @call_details = ($cdr->downstream_csv( 'format' => $output_format ));
+ @call_details = ($cdr->downstream_csv( 'format' => $output_format,
+ 'charge' => $charge,
+ )
+ );
$classnum = $cdr->calltypenum;
} else {
More information about the freeside-commits
mailing list