X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fquotation_pkg_detail.pm;h=76e2fd15df62993232e277479d62e6fe680a6859;hb=d856e90f730f72d173c2eedde4c81bba20c583b8;hp=be3d81529aad93085049a2db6bc29b486374c261;hpb=b6f16a22bd93ec66ffbb1da30e63f7e950b3b819;p=freeside.git diff --git a/FS/FS/quotation_pkg_detail.pm b/FS/FS/quotation_pkg_detail.pm index be3d81529..76e2fd15d 100644 --- a/FS/FS/quotation_pkg_detail.pm +++ b/FS/FS/quotation_pkg_detail.pm @@ -34,15 +34,18 @@ currently supported: primary key -=item billpkgnum +=item quotationpkgnum -named thusly for quick compatability with L, -actually the quotationpkgnum for the relevant L +for the relevant L =item detail detail text +=item copy_on_order + +flag, indicates detail should be copied over when ordering + =cut # 'format' field isn't used, there for TemplateItem_Mixin @@ -108,8 +111,9 @@ sub check { my $error = $self->ut_numbern('detailnum') - || $self->ut_foreign_key('billpkgnum', 'quotation_pkg', 'quotationpkgnum') + || $self->ut_foreign_key('quotationpkgnum', 'quotation_pkg', 'quotationpkgnum') || $self->ut_text('detail') + || $self->ut_flag('copy_on_order') ; return $error if $error;