summaryrefslogtreecommitdiff
path: root/FS/FS/quotation_pkg_detail.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-01-29 20:24:46 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-01-30 14:48:17 -0600
commit0ef2dee417147582084f925bc5d62cf13d41801d (patch)
treed5c3e40b6354886788556957e9beeb9e4355cc37 /FS/FS/quotation_pkg_detail.pm
parent98298f640d54b04f93e702a80a58e10525193b1e (diff)
RT#39831 Quotation extra information for line items
Diffstat (limited to 'FS/FS/quotation_pkg_detail.pm')
-rw-r--r--FS/FS/quotation_pkg_detail.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/quotation_pkg_detail.pm b/FS/FS/quotation_pkg_detail.pm
index ce13589..76e2fd1 100644
--- a/FS/FS/quotation_pkg_detail.pm
+++ b/FS/FS/quotation_pkg_detail.pm
@@ -42,6 +42,10 @@ for the relevant L<FS::quotation_pkg>
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
@@ -109,6 +113,7 @@ sub check {
$self->ut_numbern('detailnum')
|| $self->ut_foreign_key('quotationpkgnum', 'quotation_pkg', 'quotationpkgnum')
|| $self->ut_text('detail')
+ || $self->ut_flag('copy_on_order')
;
return $error if $error;