X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Findex.html;h=5b550dba7d98e5628b1a9c6108572d577a03b61a;hb=f7e5e7625b04164ce2e0aac77a85bc03a7d48a6f;hp=57d85a9fb01a2fcc9eb97224bb750251e54a615e;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/index.html b/httemplate/index.html index 57d85a9fb..5b550dba7 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -1,8 +1,11 @@ % my $conf = new FS::Conf; <% include('/elements/header.html', 'Billing Main' ) %> -% -% + +<% include('/elements/dashboard-install_welcome.html') %> + +<% include('/elements/dashboard-toplist.html') %> + % 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 ) @@ -19,29 +22,25 @@ % @custnums = splice(@custnums, 0, 10); % % if ( @custnums ) { -% -% - <% include('/elements/table-grid.html') %> + % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; -% my $bgcolor; -% - +% my $bgcolor = $bgcolor2; Customers I recently added or modified + % foreach my $custnum ( @custnums ) { % my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } ); % next unless $cust_main; - - <% $custnum %>: <% $cust_main->name %> + <% $cust_main->display_custnum %>: <% $cust_main->name %> -% + % if ( $bgcolor eq $bgcolor1 ) { % $bgcolor = $bgcolor2; % } else { @@ -50,10 +49,8 @@ % % } - -% } +% } <% include('/elements/footer.html') %> -