~jlungo/zhris/trunk

« back to all changes in this revision

Viewing changes to classes/modules/api/report/APITimesheetDetailReport.class.php

  • Committer: Juma Lungo
  • Date: 2017-11-16 08:54:53 UTC
  • Revision ID: juma.lungo@zalongwa.com-20171116085453-q3jxht0gcab8jbya
codebase commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/*********************************************************************************
 
3
 * TimeTrex is a Workforce Management program developed by
 
4
 * TimeTrex Software Inc. Copyright (C) 2003 - 2017 TimeTrex Software Inc.
 
5
 *
 
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.
 
12
 *
 
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
 
16
 * details.
 
17
 *
 
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
 
21
 * 02110-1301 USA.
 
22
 *
 
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.
 
25
 *
 
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.
 
29
 *
 
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
 ********************************************************************************/
 
36
 
 
37
 
 
38
/**
 
39
 * @package API\Report
 
40
 */
 
41
class APITimesheetDetailReport extends APIReport {
 
42
        protected $main_class = 'TimesheetDetailReport';
 
43
 
 
44
        public function __construct() {
 
45
                parent::__construct(); //Make sure parent constructor is always called.
 
46
 
 
47
                return TRUE;
 
48
        }
 
49
 
 
50
        function getTimesheetDetailReport( $config, $format = 'pdf' ) {
 
51
                return $this->getReport( $config, $format );
 
52
        }
 
53
}
 
54
?>