summaryrefslogtreecommitdiff
path: root/FS/FS/quotation_pkg.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-03-11 01:03:51 -0700
committerIvan Kohler <ivan@freeside.biz>2013-03-11 01:03:51 -0700
commita2ff7564f36a5db81bdba053ff70017b8f438904 (patch)
tree001829a440930d6dbd2ed0e0ea13bfc39332f4d2 /FS/FS/quotation_pkg.pm
parent57c5cf47f41739b57c563ddac09d0bd49d6d67b4 (diff)
fix quotations, RT#21103
Diffstat (limited to 'FS/FS/quotation_pkg.pm')
-rw-r--r--FS/FS/quotation_pkg.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/FS/FS/quotation_pkg.pm b/FS/FS/quotation_pkg.pm
index 3d40bb0..47045cd 100644
--- a/FS/FS/quotation_pkg.pm
+++ b/FS/FS/quotation_pkg.pm
@@ -1,10 +1,11 @@
package FS::quotation_pkg;
use strict;
-use base qw( FS::Record );
+use base qw( FS::TemplateItem_Mixin FS::Record );
use FS::Record qw( qsearchs ); #qsearch
use FS::part_pkg;
use FS::cust_location;
+use FS::quotation_pkg_discount; #so its loaded when TemplateItem_Mixin needs it
=head1 NAME
@@ -80,6 +81,11 @@ points to. You can ask the object for a copy with the I<hash> method.
sub table { 'quotation_pkg'; }
+sub display_table { 'quotation_pkg'; }
+sub display_table_orderby { 'quotationpkgnum'; } # something else?
+ # (for invoice display order)
+sub discount_table { 'quotation_pkg_discount'; }
+
=item insert
Adds this record to the database. If there is an error, returns the error,