diff options
author | Mark Wells <mark@freeside.biz> | 2012-04-10 18:03:37 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-04-10 18:03:37 -0700 |
commit | 9a4a158c7f3a0f9d2333e867f6f716ba0aef43e9 (patch) | |
tree | 1759aea8b20836f8640a1e9311af716bc9b8c745 | |
parent | 39dc3ac864bac4509c54900d952ef759b2102fb1 (diff) |
include agent name in CSV format, #17053
-rw-r--r-- | FS/FS/cust_bill.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 945771e0d..255ce6009 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, |