NAME
App::TimeClock::Daily::HtmlPrinter
DESCRIPTION
Implements the App::TimeClock::Daily::PrinterInterface. Will print a (simple) HTML report with embedded (CSS) styling.
METHODS
- print_header()
-
Prints a standard HTML header, i.e. DOCTYPE followed by an opening html tag and a head tag. The head will contain a title with todays date and an embedded (css) style. A body tag will open and an h1 header with todays day will be printed. The body and html tags will be closed in the "print_footer()" method.
- print_day()
-
Prints all activities for a day including a total. Is printed in a standard HTML table.
-
Prints the total number of hours worked and the daily average and closes the body and html tags.
AUTHOR
Søren Lund, <soren at lund.org>
SEE ALSO
COPYRIGHT
Copyright (C) 2012-2015 Søren Lund
This file is part of App::TimeClock.
App::TimeClock is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
App::TimeClock is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with App::TimeClock. If not, see <http://www.gnu.org/licenses/>.