~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to lib/eventum/class.history.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:
273
273
                    self::fillStatusChangedOnlyIssues($res, $usr_id, $start, $end);
274
274
                }
275
275
                foreach ($res as $index => $row) {
276
 
                    if ((!empty($row["iss_customer_id"])) && (Customer::hasCustomerIntegration($row['iss_prj_id']))) {
277
 
                        $details = Customer::getDetails($row["iss_prj_id"], $row["iss_customer_id"], $res['iss_customer_contract_id']);
278
 
                        $row["customer_name"] = $details["customer_name"];
 
276
                    if ((!empty($row["iss_customer_id"])) && (CRM::hasCustomerIntegration($row['iss_prj_id']))) {
 
277
                        $row["customer_name"] = CRM::getCustomerName($row["iss_prj_id"], $row["iss_customer_id"]);
279
278
                    }
280
279
                    if (($separate_closed) && ($row['sta_is_closed'] == 1)) {
281
280
                        $data['closed'][] = $row;