Debug::Text('Submit!', __FILE__, __LINE__, __METHOD__, 10);
 //Debug::Arr($filter_data, 'Filter Data', __FILE__, __LINE__, __METHOD__,10);
 $filter_data['job_group_ids'] = Misc::trimSortPrefix($filter_data['job_group_ids'], TRUE);
 $ulf = new UserListFactory();
 $ulf->getSearchByCompanyIdAndArrayCriteria($current_company->getId(), $filter_data);
 if ($ulf->getRecordCount() > 0) {
     foreach ($ulf as $u_obj) {
         $filter_data['user_ids'][] = $u_obj->getId();
     }
     $plf = new PunchListFactory();
     if ($current_company->getProductEdition() == 20) {
         if (!isset($filter_data['job_item_ids'])) {
             $filter_data['job_item_ids'] = array();
         }
         $jlf = new JobListFactory();
         $jlf->getSearchByCompanyIdAndStatusIdAndBranchIdAndDepartmentIdAndGroupIdAndClientIdAndIncludeIdAndExcludeId($current_company->getId(), NULL, NULL, NULL, Misc::trimSortPrefix($filter_data['job_group_ids'], TRUE), NULL, $filter_data['include_job_ids'], $filter_data['exclude_job_ids']);
         $filter_data['job_ids'] = array();
         if ($jlf->getRecordCount() > 0) {
             foreach ($jlf as $j_obj) {
                 $filter_data['job_ids'][] = $j_obj->getId();
             }
         }
     } else {
         $filter_data['job_ids'] = array(-1);
         $filter_data['job_item_ids'] = array(-1);
     }
     $epoch = TTDate::getTime();
     $filter_data['start_date'] = $epoch - 86400;
     $filter_data['end_date'] = $epoch + 86400;
     $filter_data['status_id'] = 10;
     $ulf = new UserListFactory();