summaryrefslogtreecommitdiff
path: root/FS/FS/quotation_pkg_discount.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-02-05 16:17:55 -0800
committerMark Wells <mark@freeside.biz>2015-02-05 16:18:03 -0800
commit7bc49d6e6a03b181ca2392d69e5f717e54d2f907 (patch)
tree19982fce80130d44aad8d17f99e94b4922093836 /FS/FS/quotation_pkg_discount.pm
parent795a733714d398d4a3d427de1448b7daaf92399d (diff)
fix creation of custom discounts on quotations, and ordering of discounted quoted packages, #33099
Diffstat (limited to 'FS/FS/quotation_pkg_discount.pm')
-rw-r--r--FS/FS/quotation_pkg_discount.pm15
1 files changed, 2 insertions, 13 deletions
diff --git a/FS/FS/quotation_pkg_discount.pm b/FS/FS/quotation_pkg_discount.pm
index 633308c..9fdae3e 100644
--- a/FS/FS/quotation_pkg_discount.pm
+++ b/FS/FS/quotation_pkg_discount.pm
@@ -1,5 +1,6 @@
package FS::quotation_pkg_discount;
-use base qw( FS::Record );
+
+use base qw( FS::pkg_discount_Mixin FS::Record );
use FS::Maketext 'mt'; # XXX not really correct
use strict;
@@ -78,27 +79,15 @@ sub table { 'quotation_pkg_discount'; }
Adds this record to the database. If there is an error, returns the error,
otherwise returns false.
-=cut
-
-# the insert method can be inherited from FS::Record
-
=item delete
Delete this record from the database.
-=cut
-
-# the delete method can be inherited from FS::Record
-
=item replace OLD_RECORD
Replaces the OLD_RECORD with this one in the database. If there is an error,
returns the error, otherwise returns false.
-=cut
-
-# the replace method can be inherited from FS::Record
-
=item check
Checks all fields to make sure this is a valid quotation package discount.