Merged in dashboards2 (pull request #2064)
Correction to flipped times call in functions
This commit is contained in:
@@ -88,8 +88,8 @@ class ReportingIndicators extends Api
|
||||
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
||||
$response = $indicatorsObj->getPeiCompleteData
|
||||
($indicator_uid,
|
||||
new \DateTime($measure_date),
|
||||
new \DateTime($compare_date),
|
||||
new \DateTime($measure_date),
|
||||
$language);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
@@ -113,8 +113,8 @@ class ReportingIndicators extends Api
|
||||
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
||||
$response = $indicatorsObj->getUeiCompleteData
|
||||
($indicator_uid,
|
||||
new \DateTime($measure_date),
|
||||
new \DateTime($compare_date),
|
||||
new \DateTime($measure_date),
|
||||
$language);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user