X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fquotation_pkg.pm;h=83c73200e90bdb0ee82892cf9f1bbf53655d606d;hb=38f381389a48a37a7ed6d6ea5e963166adb47318;hp=b5823f450e8125aea7c164275bf455608bd48ec0;hpb=53a1130923c4905b267239c369949aadde657c7c;p=freeside.git diff --git a/FS/FS/quotation_pkg.pm b/FS/FS/quotation_pkg.pm index b5823f450..83c73200e 100644 --- a/FS/FS/quotation_pkg.pm +++ b/FS/FS/quotation_pkg.pm @@ -193,13 +193,26 @@ sub cust_bill_pkg_display { } elsif ( $type eq 'R' ) { return ($recur); } else { - return ($setup, $recur); + #return ($setup, $recur); + return ($self); } } } +=item cust_main + +Returns the customer (L object). + +=cut + +sub cust_main { + my $self = shift; + my $quotation = FS::quotation->by_key($self->quotationnum) or return ''; + $quotation->cust_main; +} + =back =head1 BUGS