diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-02-01 10:20:04 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-02-01 10:20:04 -0800 |
commit | dbc0db124d4568f3b97238e4c3e645e68f7e8b9c (patch) | |
tree | 88b14bd95360461834787626f4a839aecf982ea1 /FS/FS/part_pkg | |
parent | d22f5c5b31de57f510c19694786e36354a67b81a (diff) |
quiet warnings
Diffstat (limited to 'FS/FS/part_pkg')
-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 e43a525..f12b1ac 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') |