diff --git a/Mplusqapiclient.php b/Mplusqapiclient.php index 4ebe31f..e7a1df6 100755 --- a/Mplusqapiclient.php +++ b/Mplusqapiclient.php @@ -2,7 +2,7 @@ class MplusQAPIclient { - const CLIENT_VERSION = '1.27.6'; + const CLIENT_VERSION = '1.27.7'; const WSDL_TTL = 300; var $MIN_API_VERSION_MAJOR = 0; @@ -5849,6 +5849,14 @@ public function parseReportResult($method, $soapReportResult) } } break; + case "reportBranchPerformance": + $data = array(); + if (isset($soapReportResult->branchPerformanceList->branchPerformance)) { + foreach ($soapReportResult->branchPerformanceList->branchPerformance as $soapbranchPerformance) { + $data[] = $soapbranchPerformance; + } + } + break; } return $data; } // END parseReportResult() @@ -8136,6 +8144,14 @@ public function convertReportRequest($method, $arguments) 'branchNumbers', 'articleNumbers', 'perHour', ), ), + 'reportBranchPerformance' => array( + 'required' => array( + 'fromFinancialDate', 'throughFinancialDate', + ), + 'optional' => array( + 'branchNumbers', + ), + ), ); $request = []; if (array_key_exists($method, $fields)) {