$filter_data['end_date'] = $epoch + 86400;
 $filter_data['status_id'] = 10;
 $ulf = new UserListFactory();
 $utlf = new UserTitleListFactory();
 $title_options = $utlf->getByCompanyIdArray($current_company->getId());
 $uglf = new UserGroupListFactory();
 $group_options = $uglf->getArrayByNodes(FastTree::FormatArray($uglf->getByCompanyIdArray($current_company->getId()), 'no_tree_text', TRUE));
 $blf = new BranchListFactory();
 $branch_options = $blf->getByCompanyIdArray($current_company->getId());
 $dlf = new DepartmentListFactory();
 $department_options = $dlf->getByCompanyIdArray($current_company->getId());
 $slf = new StationListFactory();
 $station_type_options = $slf->getOptions('type');
 if ($current_company->getProductEdition() == 20) {
     $jlf = new JobListFactory();
     $job_options = $jlf->getByCompanyIdArray($current_company->getId());
     $jilf = new JobItemListFactory();
     $job_item_options = $jilf->getByCompanyIdArray($current_company->getId());
 } else {
     $job_options = array();
     $job_item_options = array();
 }
 $punch_type_options = $plf->getOptions('type');
 $plf->getLastPunchByCompanyIdAndArrayCriteria($current_company->getId(), $filter_data);
 if ($plf->getRecordCount() > 0) {
     foreach ($plf as $p_obj) {
         //Get user info
         $ulf->getById($p_obj->getColumn('user_id'));
         if ($ulf->getRecordCount() > 0) {
             $user_obj = $ulf->getCurrent();
             /*