projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
discounts, RT#6679
[freeside.git]
/
FS
/
FS
/
part_pkg
/
flat.pm
diff --git
a/FS/FS/part_pkg/flat.pm
b/FS/FS/part_pkg/flat.pm
index
f9aaebe
..
9bb45e6
100644
(file)
--- a/
FS/FS/part_pkg/flat.pm
+++ b/
FS/FS/part_pkg/flat.pm
@@
-210,9
+210,9
@@
sub is_free_options {
qw( setup_fee recur_fee );
}
-sub is_prepaid {
- 0; #no, we're postpaid
-}
+sub is_prepaid {
0; } #no, we're postpaid
+
+sub can_discount { 1; } #and anything that inherits from us
sub usage_valuehash {
my $self = shift;