X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fquotation_pkg_discount.pm;h=87ac6bd04320876dcc026930d2b2da6ed66594e1;hb=f1205344753e1b44945ccc0daa1c78d0f7fa7c45;hp=19a7bceb469552d9718f579fc7095678e0460b7f;hpb=c6df7ad114570d49e51ef1f806b83bb7e1a1bca8;p=freeside.git diff --git a/FS/FS/quotation_pkg_discount.pm b/FS/FS/quotation_pkg_discount.pm index 19a7bceb4..87ac6bd04 100644 --- a/FS/FS/quotation_pkg_discount.pm +++ b/FS/FS/quotation_pkg_discount.pm @@ -118,18 +118,6 @@ sub check { =back -=item amount - -Returns the total amount of this discount (setup + recur), for compatibility -with L. - -=cut - -sub amount { - my $self = shift; - return $self->get('setup_amount') + $self->get('recur_amount'); -} - =item description Returns a string describing the discount (for use on the quotation).