X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Findex.html;h=ae150961093d4a70bf44bcce5c3aab2a3813272d;hp=95d4580bd2d2bf75ad2321c2917eaae9ec682698;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=64dc1bb0f70ccc0b828cc1d758cd82f040e0ec33 diff --git a/httemplate/index.html b/httemplate/index.html index 95d4580bd..ae1509610 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -1,66 +1,54 @@ -<% my $conf = new FS::Conf; %> -<%= include('/elements/header.html', 'Freeside Main Menu' ) %> - -
- -[ Sales / Customer service ] -[ Bookkeeping / Collections ] -[ Reports ] - - - -
Sales / Customer service
-
Username
-
Domain
-
IP Address
-
-
- -


- - -[ Sales / Customer service ] -[ Bookkeeping / Collections ] -[ Reports ] - - - -
Bookkeeping / Collections
-
Quick payment entry -
-
Credit card #
-
Invoice #
-
Check #
-
- Invoice event reports - -

-
- - - -


- - - -[ Sales / Customer service ] -[ Bookkeeping / Collections ] -[ Reports ] - - - -
Reports
-
- RADIUS sessions

-
SQL query: SELECT
- -
-
- -


- -<%= include('/elements/footer.html') %> - +<& /elements/header.html, mt('Billing Main') &> + +<& /elements/dashboard-install_welcome.html &> + +<& /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 ) +% WHERE ( history_action = 'insert' OR history_action = 'replace_new' ) +% AND history_user = ? +% ORDER BY history_date desc" # LIMIT 10 +% ) or die dbh->errstr; +% +% $sth->execute( getotaker() ) or die $sth->errstr; +% +% my %saw = (); +% my @custnums = grep { !$saw{$_}++ } map $_->[0], @{ $sth->fetchall_arrayref }; +% +% @custnums = splice(@custnums, 0, 10); +% +% if ( @custnums ) { + + <& /elements/table-grid.html &> + +% my $bgcolor1 = '#eeeeee'; +% my $bgcolor2 = '#ffffff'; +% my $bgcolor = $bgcolor2; + + + <% mt('Customers I recently added or modified') |h %> + + +% foreach my $custnum ( @custnums ) { +% my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } ); +% next unless $cust_main; + + + <% $cust_main->display_custnum %>: <% $cust_main->name %> + + +% if ( $bgcolor eq $bgcolor1 ) { +% $bgcolor = $bgcolor2; +% } else { +% $bgcolor = $bgcolor1; +% } +% +% } + + + +% } + +<& /elements/footer.html &>