summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/section.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-08-09 15:19:27 -0700
committerIvan Kohler <ivan@freeside.biz>2014-08-09 15:19:27 -0700
commitf9930edeaceb217a6503fa49078fcff2b588caf8 (patch)
treeb7627bbada0c78d2f8c9317201db215b60932484 /httemplate/view/cust_main/packages/section.html
parentde7167ac01e77d08f1fdd05ba229eb87b2c67e6d (diff)
optimizations for large package lists, RT#28526
Diffstat (limited to 'httemplate/view/cust_main/packages/section.html')
-rwxr-xr-xhttemplate/view/cust_main/packages/section.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html
index 95b486f05..4980feeac 100755
--- a/httemplate/view/cust_main/packages/section.html
+++ b/httemplate/view/cust_main/packages/section.html
@@ -11,8 +11,8 @@
% foreach my $cust_pkg (@$packages) {
<& .packagerow, $cust_pkg,
( map { $_ => $opt{$_} } qw(
- cust_main bgcolor
- no_links before_pkg_callback before_svc_callback after_svc_callback
+ cust_main bgcolor no_links cust_location_cache
+ before_pkg_callback before_svc_callback after_svc_callback
)),
%conf_opt
&>
@@ -99,6 +99,7 @@ my %conf_opt = (
#for package.html
'invoice-unitprice' => $conf->exists('invoice-unitprice'),
'show_pkgnum' => $curuser->option('show_pkgnum'),
+ 'part_pkg-term_discounts' => $conf->exists('part_pkg-term_discounts'),
#for services.html and status.html
'cust_pkg-display_times' => ($conf->exists('cust_pkg-display_times')