diff options
author | ivan <ivan> | 2011-11-16 01:02:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-11-16 01:02:22 +0000 |
commit | 806c6d4a749b1855e5aff96c45d60fb8b83ef364 (patch) | |
tree | 7e68865671c35ff0dc25b7dde53b69bc8f45e3ea /httemplate/view | |
parent | db53e3e2958a14e711cc4cddb1e62bb61fe0c7ca (diff) |
don't check overlimit status in bulk service view, RT#15154
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/packages/status.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index 537554e86..e982220be 100644 --- a/httemplate/view/cust_main/packages/status.html +++ b/httemplate/view/cust_main/packages/status.html @@ -133,7 +133,12 @@ % } else { % -% if (scalar($cust_pkg->overlimit)) { +% my $num_cust_svc = $cust_pkg->num_cust_svc; +% my $summarize = $opt{'cust_pkg-large_pkg_size'} > 0 +% && $opt{'cust_pkg-large_pkg_size'} <= $num_cust_svc; +% +% #overlimit process is expensive with many services, so skip w/summary +% if ( !$summarize && scalar($cust_pkg->overlimit) ) { <% pkg_status_row_colspan( $cust_pkg, emt('Overlimit'), |