X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fquotation_pkg_detail.pm;h=76e2fd15df62993232e277479d62e6fe680a6859;hb=e95a28ea14289ffcfa652bff9b179d3820b56242;hp=be3d81529aad93085049a2db6bc29b486374c261;hpb=80c2d997c5c983344c530ecbb46f94f1c299b35f;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;