[freeside-commits] freeside/FS/FS/part_pkg flat.pm,1.35,1.36

Ivan,,, ivan at wavetail.420.am
Fri Jan 29 23:38:34 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv5851/FS/FS/part_pkg

Modified Files:
	flat.pm 
Log Message:
discounts, RT#6679

Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- flat.pm	26 Oct 2009 01:11:53 -0000	1.35
+++ flat.pm	30 Jan 2010 07:38:32 -0000	1.36
@@ -210,9 +210,9 @@
   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;



More information about the freeside-commits mailing list