[freeside-commits] branch FREESIDE_2_3_BRANCH updated. ed882ab1c3bb42f31c491a36605581b4c6dd2626
Mark Wells
mark at 420.am
Tue Apr 10 18:04:10 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via ed882ab1c3bb42f31c491a36605581b4c6dd2626 (commit)
from 89896731e5226f366b4ceed798e68b98141290f7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ed882ab1c3bb42f31c491a36605581b4c6dd2626
Author: Mark Wells <mark at freeside.biz>
Date: Tue Apr 10 18:04:05 2012 -0700
include agent name in CSV format, #17053
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 945771e..255ce60 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2006,7 +2006,7 @@ sub print_csv {
);
} elsif ( lc($opt{'format'}) eq 'oneline' ) { #name?
-
+
my ($previous_balance) = $self->previous;
my $totaldue = sprintf('%.2f', $self->owed + $previous_balance);
my @items = map {
@@ -2017,6 +2017,7 @@ sub print_csv {
$csv->combine(
$cust_main->agentnum,
+ $cust_main->agent->agent,
$self->custnum,
$cust_main->first,
$cust_main->last,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_bill.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list