summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-03-25 16:33:26 -0700
committerIvan Kohler <ivan@freeside.biz>2014-03-25 16:33:26 -0700
commit1b961dca9ac3d9904991926c73121b8e7a45a451 (patch)
tree4648800b8b5996fc026325653485b9a1d85e5fbd /httemplate/edit/part_pkg.cgi
parent90d1022ea578c2aba32d4fa55a503247310eb228 (diff)
improve performance of package add/edit (don't pull up pricing info in add-on/supplemental package dropdowns), RT#24000
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index d1fbdf217..829bf834a 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -275,6 +275,7 @@
? "AND pkgpart != $pkgpart"
: ''
},
++ 'label_callback' => sub { shift->pkg_comment_only },
'm2_label' => 'Include line item(s) from package',
'm2m_method' => 'bill_part_pkg_link',
'm2m_dstcol' => 'dst_pkgpart',
@@ -301,6 +302,7 @@
? "AND pkgpart != $pkgpart"
: ''
},
++ 'label_callback' => sub { shift->pkg_comment_only },
'm2_label' => 'Include services of package: ',
'm2m_method' => 'svc_part_pkg_link',
'm2m_dstcol' => 'dst_pkgpart',
@@ -317,6 +319,7 @@
},
{ 'field' => 'supp_dst_pkgpart',
'type' => 'select-part_pkg',
++ 'label_callback' => sub { shift->pkg_comment_only },
'm2_label' => 'When ordering package, also order',
'm2m_method' => 'supp_part_pkg_link',
'm2m_dstcol' => 'dst_pkgpart',