Skip to content
Snippets Groups Projects
Commit bafda868 authored by Tim Steiner's avatar Tim Steiner
Browse files

Update iACE report to show all ace request types, not just add ace.

parent 1bd243dd
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class Iace_ReportsController extends App_Controller_Action
$select->from(array('h' => 'creqApprovalHistories'), array('time'));
$select->join(array('r' => 'creqRequests'), 'h.request = r.requestId', array('r.requestId'));
$select->where('h.approvalActionName = ?', 'Make Official');
$select->where('r.type = 7');
$select->where('r.type IN (?)', array(6, 7, 8, 9, 10));
$select->where('h.time >= ?', $startDate->getTimestamp());
$select->where('h.time < ?', $endDate->getTimestamp());
......@@ -124,7 +124,7 @@ class Iace_ReportsController extends App_Controller_Action
$select->from(array('h' => 'creqApprovalHistories'), array('time'));
$select->join(array('r' => 'creqRequests'), 'h.request = r.requestId', array('r.requestId'));
$select->where('h.approvalActionName = ?', 'Make Official');
$select->where('r.type = 7');
$select->where('r.type IN (?)', array(6, 7, 8, 9, 10));
$select->where('h.time < ?', $endDate->getTimestamp());
$data = $select->query()->fetchAll();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment