[freeside-commits] branch master updated. 9a4a158c7f3a0f9d2333e867f6f716ba0aef43e9

Mark Wells mark at 420.am
Tue Apr 10 18:03:55 PDT 2012


The branch, master has been updated
       via  9a4a158c7f3a0f9d2333e867f6f716ba0aef43e9 (commit)
      from  39dc3ac864bac4509c54900d952ef759b2102fb1 (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 9a4a158c7f3a0f9d2333e867f6f716ba0aef43e9
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Apr 10 18:03:37 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