diff options
| author | Mark Wells <mark@freeside.biz> | 2012-04-10 18:04:05 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-04-10 18:04:05 -0700 |
| commit | ed882ab1c3bb42f31c491a36605581b4c6dd2626 (patch) | |
| tree | 64b6b092aa4f615b6b71c378fa1067a2afa22434 | |
| parent | 89896731e5226f366b4ceed798e68b98141290f7 (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, |
