summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/quotation_pkg.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/quotation_pkg.pm b/FS/FS/quotation_pkg.pm
index b9b3799..9854c45 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);