summaryrefslogtreecommitdiff
path: root/httemplate/index.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-09-28 16:55:34 -0700
committerMark Wells <mark@freeside.biz>2012-09-28 16:55:34 -0700
commita10c9fb8cece00fc3b996f56c61b6841e93c1551 (patch)
tree9ceca5f8c9121ce856077e43c78c04a7049326ea /httemplate/index.html
parent962cd26e8e33bf3653cca439dbd9bd52f46bad29 (diff)
speed fix for dashboard, from #17067
Diffstat (limited to 'httemplate/index.html')
-rw-r--r--httemplate/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/index.html b/httemplate/index.html
index ae1509610..71926aa4e 100644
--- a/httemplate/index.html
+++ b/httemplate/index.html
@@ -1,9 +1,18 @@
+<%init>my $debug = $cgi->param('debug');</%init>
+% warn time.": header.html\n" if $debug;
+%
<& /elements/header.html, mt('Billing Main') &>
+% warn time.": dashboard-install_welcome.html\n" if $debug;
+%
<& /elements/dashboard-install_welcome.html &>
+% warn time.": dashboard-toplist.html\n" if $debug;
+%
<& /elements/dashboard-toplist.html &>
+% warn time.": fetching recently changed customers\n" if $debug;
+%
% my $sth = dbh->prepare(
% #"SELECT DISTINCT custnum FROM h_cust_main JOIN cust_main USING ( custnum )
% "SELECT custnum FROM h_cust_main JOIN cust_main USING ( custnum )
@@ -20,6 +29,7 @@
% @custnums = splice(@custnums, 0, 10);
%
% if ( @custnums ) {
+% warn time.": displaying recently changed customers\n" if $debug;
<& /elements/table-grid.html &>