[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.75,1.76
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Aug 17 13:48:29 PDT 2009
- Previous message: [freeside-commits] freeside/httemplate/edit/cust_main bottomfixup.js, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.192, 1.193 Schema.pm, 1.162, 1.163 cust_bill.pm, 1.250, 1.251 cust_bill_pkg.pm, 1.37, 1.38 cust_bill_pkg_detail.pm, 1.7, 1.8 cust_svc.pm, 1.80, 1.81
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv16265/FS/FS/part_pkg
Modified Files:
voip_cdr.pm
Log Message:
improve emailed cdr csv file (#5727 again)
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- voip_cdr.pm 21 Jul 2009 07:03:11 -0000 1.75
+++ voip_cdr.pm 17 Aug 2009 20:48:27 -0000 1.76
@@ -558,13 +558,16 @@
if ( $charge > 0 ) {
#just use FS::cust_bill_pkg_detail objects?
my $call_details;
+ my $phonenum = $cust_svc->svc_x->phonenum;
#if ( $self->option('rating_method') eq 'upstream_simple' ) {
if ( scalar(@call_details) == 1 ) {
- $call_details = [ 'C', $call_details[0], $charge, $classnum ];
+ $call_details =
+ [ 'C', $call_details[0], $charge, $classnum, $phonenum ];
} else { #only used for $rating_method eq 'upstream' now
$csv->combine(@call_details);
- $call_details = [ 'C', $csv->string, $charge, $classnum ];
+ $call_details =
+ [ 'C', $csv->string, $charge, $classnum, $phonenum ];
}
warn " adding details on charge to invoice: [ ".
join(', ', @{$call_details} ). " ]"
- Previous message: [freeside-commits] freeside/httemplate/edit/cust_main bottomfixup.js, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.192, 1.193 Schema.pm, 1.162, 1.163 cust_bill.pm, 1.250, 1.251 cust_bill_pkg.pm, 1.37, 1.38 cust_bill_pkg_detail.pm, 1.7, 1.8 cust_svc.pm, 1.80, 1.81
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list