X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fflat.pm;h=d59c694b1eaa788eb2c7ba0485b170632b88e0ba;hb=60ad366f6b218de3f229b4ccdc033b96863ea3e9;hp=cb7e1836953c45a986d28a35e4a874f5b9cbff43;hpb=ca1cb63cc645a3f402048f589c67d76bedf4d597;p=freeside.git diff --git a/FS/FS/part_pkg/flat.pm b/FS/FS/part_pkg/flat.pm index cb7e18369..d59c694b1 100644 --- a/FS/FS/part_pkg/flat.pm +++ b/FS/FS/part_pkg/flat.pm @@ -220,11 +220,7 @@ sub is_prepaid { 0; } #no, we're postpaid sub can_start_date { ! shift->option('start_1st', 1) } -#XXX discounts only on recurring fees for now (no setup/one-time or usage) -sub can_discount { - my $self = shift; - $self->freq =~ /^\d+$/ && $self->freq > 0; -} +sub can_discount { 1; } sub recur_temporality { my $self = shift;