[freeside-commits] branch master updated. d234df9a0d62763d341508038dafd0df711de079

Ivan ivan at 420.am
Tue Mar 26 22:32:03 PDT 2013


The branch, master has been updated
       via  d234df9a0d62763d341508038dafd0df711de079 (commit)
      from  c81080957a5d09a7a7679a4eed4a7b702dd3d56e (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 d234df9a0d62763d341508038dafd0df711de079
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 26 22:32:01 2013 -0700

    add tax items to oneline invoice export format, RT#21712

diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 41124bc..9bab493 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2130,10 +2130,13 @@ sub print_csv {
     $previous_balance = sprintf('%.2f', $previous_balance);
     my $totaldue = sprintf('%.2f', $self->owed + $previous_balance);
     my @items = map {
-      ($_->{pkgnum} || ''),
-      $_->{description},
-      $_->{amount}
-    } $self->_items_pkg;
+                      $_->{pkgnum},
+                      $_->{description},
+                      $_->{amount}
+                    }
+                  $self->_items_pkg, #_items_nontax?  no sections or anything
+                                     # with this format
+                  $self->_items_tax;
 
     $csv->combine(
       $cust_main->agentnum,

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_bill.pm |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list