Skip to content

Commit

Permalink
reportCancellations added
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis van den Heerik committed Sep 6, 2019
1 parent e45f228 commit 2289dac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Mplusqapiclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -5664,6 +5664,14 @@ public function parseReportResult($method, $soapReportResult)
}
}
break;
case "reportCancellations":
$data = array();
if (isset($soapReportResult->cancellationsList->cancellations)) {
foreach ($soapReportResult->cancellationsList->cancellations as $soapCancellations) {
$data[] = $soapCancellations;
}
}
break;
}
return $data;
} // END parseReportResult()
Expand Down Expand Up @@ -7867,6 +7875,14 @@ public function convertReportRequest($method, $arguments)
'branchNumbers',
),
),
'reportCancellations' => array(
'required' => array(
'fromFinancialDate', 'throughFinancialDate',
),
'optional' => array(
'branchNumbers', 'employeeNumbers',
),
),
);
$request = [];
if (array_key_exists($method, $fields)) {
Expand Down

0 comments on commit 2289dac

Please sign in to comment.