summaryrefslogtreecommitdiff
path: root/FS/FS/quotation_pkg_detail.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-11-09 17:05:36 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-11-10 18:05:33 -0600
commitb1eb27aff8062aade3f13610664ee522d13a1cf0 (patch)
treed733bfb46d41a186fe9fae8610d57845f91bac4b /FS/FS/quotation_pkg_detail.pm
parent315f5c9e8d797046db1bc6f91ae9e9e365309514 (diff)
RT#34960: Quotations [changed billpkgnum to quotationpkgnum]
Diffstat (limited to 'FS/FS/quotation_pkg_detail.pm')
-rw-r--r--FS/FS/quotation_pkg_detail.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/FS/FS/quotation_pkg_detail.pm b/FS/FS/quotation_pkg_detail.pm
index be3d815..ce13589 100644
--- a/FS/FS/quotation_pkg_detail.pm
+++ b/FS/FS/quotation_pkg_detail.pm
@@ -34,10 +34,9 @@ currently supported:
primary key
-=item billpkgnum
+=item quotationpkgnum
-named thusly for quick compatability with L<FS::TemplateItem_Mixin>,
-actually the quotationpkgnum for the relevant L<FS::quotation_pkg>
+for the relevant L<FS::quotation_pkg>
=item detail
@@ -108,7 +107,7 @@ 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')
;
return $error if $error;