fix v3 existing customer quotation order, RT#31963
authorIvan Kohler <ivan@freeside.biz>
Thu, 8 Jan 2015 04:41:31 +0000 (20:41 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 8 Jan 2015 04:41:31 +0000 (20:41 -0800)
FS/FS/quotation.pm

index 401711b..19be006 100644 (file)
@@ -288,6 +288,15 @@ sub order {
 
 }
 
+=item quotation_pkg
+
+=cut
+
+sub quotation_pkg {
+  my $self = shift;
+  qsearch('quotation_pkg', { 'quotationnum' => $self->quotationnum } );
+}
+
 =back
 
 =head1 CLASS METHODS