X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fflat.pm;h=d59c694b1eaa788eb2c7ba0485b170632b88e0ba;hp=cb7e1836953c45a986d28a35e4a874f5b9cbff43;hb=b79a8cb932946c849328a3c117c35821d9d21e66;hpb=fe8914c3b55d747fc4c3559b17d8d0ef6ed1a0b3 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;