reporting indicators API dates flipped
This commit is contained in:
@@ -88,8 +88,8 @@ class ReportingIndicators extends Api
|
|||||||
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
||||||
$response = $indicatorsObj->getPeiCompleteData
|
$response = $indicatorsObj->getPeiCompleteData
|
||||||
($indicator_uid,
|
($indicator_uid,
|
||||||
new \DateTime($measure_date),
|
|
||||||
new \DateTime($compare_date),
|
new \DateTime($compare_date),
|
||||||
|
new \DateTime($measure_date),
|
||||||
$language);
|
$language);
|
||||||
return $response;
|
return $response;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
@@ -113,8 +113,8 @@ class ReportingIndicators extends Api
|
|||||||
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
$indicatorsObj = new \ProcessMaker\BusinessModel\ReportingIndicators();
|
||||||
$response = $indicatorsObj->getUeiCompleteData
|
$response = $indicatorsObj->getUeiCompleteData
|
||||||
($indicator_uid,
|
($indicator_uid,
|
||||||
new \DateTime($measure_date),
|
|
||||||
new \DateTime($compare_date),
|
new \DateTime($compare_date),
|
||||||
|
new \DateTime($measure_date),
|
||||||
$language);
|
$language);
|
||||||
return $response;
|
return $response;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user