2
/*********************************************************************************
3
* TimeTrex is a Workforce Management program developed by
4
* TimeTrex Software Inc. Copyright (C) 2003 - 2017 TimeTrex Software Inc.
6
* This program is free software; you can redistribute it and/or modify it under
7
* the terms of the GNU Affero General Public License version 3 as published by
8
* the Free Software Foundation with the addition of the following permission
9
* added to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED
10
* WORK IN WHICH THE COPYRIGHT IS OWNED BY TIMETREX, TIMETREX DISCLAIMS THE
11
* WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13
* This program is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
18
* You should have received a copy of the GNU Affero General Public License along
19
* with this program; if not, see http://www.gnu.org/licenses or write to the Free
20
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
* You can contact TimeTrex headquarters at Unit 22 - 2475 Dobbin Rd. Suite
24
* #292 West Kelowna, BC V4T 2E9, Canada or at email address info@timetrex.com.
26
* The interactive user interfaces in modified source and object code versions
27
* of this program must display Appropriate Legal Notices, as required under
28
* Section 5 of the GNU Affero General Public License version 3.
30
* In accordance with Section 7(b) of the GNU Affero General Public License
31
* version 3, these Appropriate Legal Notices must retain the display of the
32
* "Powered by TimeTrex" logo. If the display of the logo is not reasonably
33
* feasible for technical reasons, the Appropriate Legal Notices must display
34
* the words "Powered by TimeTrex".
35
********************************************************************************/
41
class APITimesheetDetailReport extends APIReport {
42
protected $main_class = 'TimesheetDetailReport';
44
public function __construct() {
45
parent::__construct(); //Make sure parent constructor is always called.
50
function getTimesheetDetailReport( $config, $format = 'pdf' ) {
51
return $this->getReport( $config, $format );