X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fflat.pm;h=9ff9e2e5bd0ec87d6d4f74e930da43df3c3387bb;hb=0935d2f172064807c5a7fe3c15d1c477b3a2b482;hp=5f5254dbfb253fbd1998a37bc089fe842d8d3de6;hpb=6f30bad25fdfe6d85094f3f6caac9a3ab84b4a86;p=freeside.git diff --git a/FS/FS/part_pkg/flat.pm b/FS/FS/part_pkg/flat.pm index 5f5254dbf..9ff9e2e5b 100644 --- a/FS/FS/part_pkg/flat.pm +++ b/FS/FS/part_pkg/flat.pm @@ -197,11 +197,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 usage_valuehash { my $self = shift;