[freeside-commits] freeside/httemplate/view/cust_main/packages status.html, 1.18, 1.18.2.1
Ivan,,,
ivan at wavetail.420.am
Tue Nov 15 17:02:24 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages
In directory wavetail.420.am:/tmp/cvs-serv21772
Modified Files:
Tag: FREESIDE_2_3_BRANCH
status.html
Log Message:
don't check overlimit status in bulk service view, RT#15154
Index: status.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/status.html,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -w -d -r1.18 -r1.18.2.1
--- status.html 16 Jun 2011 23:06:20 -0000 1.18
+++ status.html 16 Nov 2011 01:02:22 -0000 1.18.2.1
@@ -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'),
More information about the freeside-commits
mailing list