diff options
author | Mark Wells <mark@freeside.biz> | 2015-02-12 11:02:04 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-02-12 11:02:04 -0800 |
commit | 9bac210768d909662b03bc2a6552b92b6651cddf (patch) | |
tree | b2770e09ce029f3c0135f5c5439676fb194cb6f0 /FS/FS/quotation_pkg_discount.pm | |
parent | bd989c6f5d2270ac7f9f4e5be19adcb84d65c378 (diff) |
unbreak fixed-amount discounts on quotations, #33099
Diffstat (limited to 'FS/FS/quotation_pkg_discount.pm')
-rw-r--r-- | FS/FS/quotation_pkg_discount.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/FS/FS/quotation_pkg_discount.pm b/FS/FS/quotation_pkg_discount.pm index 9fdae3e..4389db2 100644 --- a/FS/FS/quotation_pkg_discount.pm +++ b/FS/FS/quotation_pkg_discount.pm @@ -116,18 +116,6 @@ sub check { =back -=item amount - -Returns the total amount of this discount (setup + recur), for compatibility -with L<FS::cust_bill_pkg_discount>. - -=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). |