summaryrefslogtreecommitdiff
path: root/httemplate/edit/quotation_pkg_detail.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-23 23:33:32 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-23 23:33:32 -0500
commita6d8b1c76fa2c592e3d6e0c19659c0ba6fc464b0 (patch)
tree400ddcaeb4a27428e849975c3c92f14220134d29 /httemplate/edit/quotation_pkg_detail.html
parent916619399ef70bc56d72d514437ecf52f099592d (diff)
RT#42089: FREESIDE ERROR WORKING WITH A QUOTATION
Diffstat (limited to 'httemplate/edit/quotation_pkg_detail.html')
-rw-r--r--httemplate/edit/quotation_pkg_detail.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/quotation_pkg_detail.html b/httemplate/edit/quotation_pkg_detail.html
index 036bffdde..9aa50ec38 100644
--- a/httemplate/edit/quotation_pkg_detail.html
+++ b/httemplate/edit/quotation_pkg_detail.html
@@ -61,6 +61,13 @@ my $quotation_pkg = qsearchs({
'LEFT JOIN cust_main USING ( custnum )',
'hashref' => { 'quotationpkgnum' => $pkgnum },
'extra_sql' => ' AND '. $curuser->agentnums_sql,
+})
+|| qsearchs({
+ 'table' => 'quotation_pkg',
+ 'addl_from' => 'LEFT JOIN quotation USING ( quotationnum )'.
+ 'LEFT JOIN prospect_main USING ( prospectnum )',
+ 'hashref' => { 'quotationpkgnum' => $pkgnum },
+ 'extra_sql' => ' AND '. $curuser->agentnums_sql,
});
my $part_pkg = $quotation_pkg->part_pkg;