diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-03-26 22:32:03 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-26 22:32:03 -0700 |
| commit | 94e28d653f2bd0fe01cf42969a12f4d6cc689c51 (patch) | |
| tree | af7ba09a8d7f9babd337b712b8e2e110438a04fc | |
| parent | bd99372ef3a5e413d812888402b1bb15856c138f (diff) | |
add tax items to oneline invoice export format, RT#21712
| -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 c95a00518..aed1ca5a7 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, |
