projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db53e3e
)
don't check overlimit status in bulk service view, RT#15154
author
ivan
<ivan>
Wed, 16 Nov 2011 01:02:22 +0000
(
01:02
+0000)
committer
ivan
<ivan>
Wed, 16 Nov 2011 01:02:22 +0000
(
01:02
+0000)
httemplate/view/cust_main/packages/status.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages/status.html
b/httemplate/view/cust_main/packages/status.html
index
537554e
..
e982220
100644
(file)
--- a/
httemplate/view/cust_main/packages/status.html
+++ b/
httemplate/view/cust_main/packages/status.html
@@
-133,7
+133,12
@@
% } else {
%
% } 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'),
<% pkg_status_row_colspan( $cust_pkg,
emt('Overlimit'),