diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-26 15:28:55 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-26 15:28:55 -0500 |
commit | d2b1f8e85a1e879ea6a986b9075eb2babd409af8 (patch) | |
tree | e7e03a519307c57c78057a34edee5b6e732b7ba4 /FS | |
parent | ae13f6c8d6b3f9bda476e06768a24042d89c8b0b (diff) |
RT#39819: Packages with Show zero setup/recurring do not print on quotations [quotation_pkg methods]
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/quotation_pkg.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/quotation_pkg.pm b/FS/FS/quotation_pkg.pm index b9b37991a..9854c4594 100644 --- a/FS/FS/quotation_pkg.pm +++ b/FS/FS/quotation_pkg.pm @@ -327,6 +327,11 @@ sub setup { } +sub setup_show_zero { + my $self = shift; + return $self->part_pkg->setup_show_zero; +} + sub setup_tax { my $self = shift; sum(0, map { $_->setup_amount } $self->quotation_pkg_tax); @@ -342,6 +347,11 @@ sub recur { } +sub recur_show_zero { + my $self = shift; + return $self->part_pkg->recur_show_zero; +} + sub recur_tax { my $self = shift; sum(0, map { $_->recur_amount } $self->quotation_pkg_tax); |