diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-02-01 10:20:04 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-08-26 10:47:46 -0700 |
commit | 9c6c62fe29a5b5e260d331fb0b663a492dc0bf2d (patch) | |
tree | 4e207490da4d7730baba61287d9c82524f548e49 | |
parent | f95fe844753a411328394dad031279df5bb1a143 (diff) |
quiet warnings
-rw-r--r-- | FS/FS/part_pkg/flat_introrate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/flat_introrate.pm b/FS/FS/part_pkg/flat_introrate.pm index e43a525d2..f12b1accd 100644 --- a/FS/FS/part_pkg/flat_introrate.pm +++ b/FS/FS/part_pkg/flat_introrate.pm @@ -94,7 +94,7 @@ sub base_recur { sub item_discount { my ($self, $cust_pkg) = @_; - return unless $self->option('show_as_discount'); + return unless $self->option('show_as_discount',1); my $intro_end = $self->intro_end($cust_pkg); my $amount = sprintf('%.2f', $self->option('intro_fee') - $self->option('recur_fee') |