[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 94e28d653f2bd0fe01cf42969a12f4d6cc689c51

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  94e28d653f2bd0fe01cf42969a12f4d6cc689c51 (commit)
      from  bd99372ef3a5e413d812888402b1bb15856c138f (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 94e28d653f2bd0fe01cf42969a12f4d6cc689c51
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 26 22:32:03 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 c95a005..aed1ca5 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2033,10 +2033,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