~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to lib/eventum/class.report.php

  • Committer: Bryan Alsdorf
  • Date: 2013-08-23 03:50:34 UTC
  • mto: (4033.1.168 eventum-skysql)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: bryan@montyprogram.com-20130823035034-7f5r3pt1xg0xnnhk
Initial commit of CRM migration

Show diffs side-by-side

added added

removed removed

Lines of Context:
701
701
                Error_Handler::logError(array($res->getMessage(), $res->getDebugInfo()), __FILE__, __LINE__);
702
702
                return array();
703
703
            }
704
 
            if (Customer::hasCustomerIntegration($prj_id)) {
705
 
                Customer::getCustomerTitlesByIssues($prj_id, $res);
 
704
            if (CRM::hasCustomerIntegration($prj_id)) {
 
705
                $crm = CRM::getInstance($prj_id);
 
706
                $crm->processListIssuesResult($res);
706
707
                if ($group_by == "issue") {
707
708
                    usort($res, create_function('$a,$b', 'if ($a["customer_title"] < $b["customer_title"]) {
708
709
                        return -1;