diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-03-26 22:32:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-26 22:32:01 -0700 |
commit | d234df9a0d62763d341508038dafd0df711de079 (patch) | |
tree | 1d6ca4ab1bbe9cfaf03b4f4f5164b0350b284b36 /FS/FS/cust_bill.pm | |
parent | c81080957a5d09a7a7679a4eed4a7b702dd3d56e (diff) |
add tax items to oneline invoice export format, RT#21712
Diffstat (limited to 'FS/FS/cust_bill.pm')
-rw-r--r-- | FS/FS/cust_bill.pm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 41124bc36..9bab4938c 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, |