diff options
author | Mark Wells <mark@freeside.biz> | 2015-03-17 16:09:20 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-03-17 16:09:20 -0700 |
commit | ac659c649a8a59398e4dc76c0e25a71a055dc29c (patch) | |
tree | 69e44e37bc4033789290a52aa98a74733ab0984a /FS/FS/Template_Mixin.pm | |
parent | 1afc4addeb73d8b87d6d840a450a396551cf614b (diff) |
correctly void invoices with fees, #32862
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index a54742067..08875b31c 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2860,6 +2860,7 @@ sub _items_fee { my %base_invnums; # invnum => invoice date foreach ($cust_bill_pkg->cust_bill_pkg_fee) { if ($_->base_invnum) { + # XXX what if base_bill has been voided? my $base_bill = FS::cust_bill->by_key($_->base_invnum); my $base_date = $self->time2str_local('short', $base_bill->_date) if $base_bill; |