Code: Select all
$punchcontrol_obj = new TimeTrexClientAPI( 'PunchControl' );
$result = $punchcontrol_obj->getPunchControl();
$punchcontrol_data = $result->getResult();
// show data for testing
echo print_r($punchcontrol_data);
To correct this problem, edit the file ../classes/modules/punch/PunchControlListFactory.class.php.
Code: Select all
// cut the following two lines of code
384 x.name as job,
386 y.name as job_item,
// paste these lines between line 421 and 422
421 x.name as job_name,
x.name as job,
y.name as job_item,
422 x.status_id as job_status_id,
TimeTrex, can this fix be included in the next release?