summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/section.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-04-25 16:14:47 -0700
committerIvan Kohler <ivan@freeside.biz>2014-04-25 16:14:47 -0700
commitc931539d1b09590c37576efff8128ae9095c758a (patch)
treecd6160088b63c1db7395bcf20f30ec93789bf9a8 /httemplate/view/cust_main/packages/section.html
parent4b2a48f5247303f07a00b42eb3091145be1150e2 (diff)
optimize package view with tons of packages, RT#28526
Diffstat (limited to 'httemplate/view/cust_main/packages/section.html')
-rwxr-xr-xhttemplate/view/cust_main/packages/section.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html
index 730bb2cf0..7c8297831 100755
--- a/httemplate/view/cust_main/packages/section.html
+++ b/httemplate/view/cust_main/packages/section.html
@@ -98,6 +98,7 @@ my $countrydefault = scalar($conf->config('countrydefault')) || 'US';
my %conf_opt = (
#for package.html
'invoice-unitprice' => $conf->exists('invoice-unitprice'),
+ 'show_pkgnum' => $curuser->option('show_pkgnum'),
#for services.html and status.html
'cust_pkg-display_times' => ($conf->exists('cust_pkg-display_times')
@@ -113,6 +114,10 @@ my %conf_opt = (
'countrydefault' => $countrydefault,
'statedefault' => ( scalar($conf->config('statedefault'))
|| ($countrydefault eq 'US' ? 'CA' : '') ),
+ 'cust_pkg-group_by_location'=> $conf->exists('cust_pkg-group_by_location'),
+ 'cust_main-require_censustract'=> $conf->exists('cust_main-require_censustract'),
+ 'company_address' => [ $conf->config('company_address', $opt{cust_main}->agentnum ) ],
+
#for services.html
'svc_external-skip_manual' => $conf->exists('svc_external-skip_manual'),
'legacy_link' => $conf->exists('legacy_link'),