Skip to content

Commit e336ab8

Browse files
Merge branch 'master' into feature/added-support-for-reportAverageSpending
# Conflicts: # Mplusqapiclient.php
2 parents b8629ee + d03d412 commit e336ab8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Mplusqapiclient.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9328,7 +9328,7 @@ public function convertReportRequest($method, $arguments) {
93289328
'fromFinancialDate', 'throughFinancialDate',
93299329
),
93309330
'optional' => array(
9331-
'branchNumbers', 'turnoverGroups', 'perHour',
9331+
'branchNumbers', 'turnoverGroups', 'perHour', 'turnoverGroupTypes',
93329332
),
93339333
),
93349334
'reportTurnoverByBranch' => array(
@@ -9450,6 +9450,12 @@ public function convertReportRequest($method, $arguments) {
94509450
}
94519451
$request['turnoverGroupFilter'] = $arguments[$callField];
94529452
break;
9453+
case "turnoverGroupTypes":
9454+
if (!is_array($arguments[$callField])) {
9455+
$arguments[$callField] = array($arguments[$callField]);
9456+
}
9457+
$request['turnoverGroupTypeFilter'] = $arguments[$callField];
9458+
break;
94539459
case "employeeNumbers":
94549460
if (!is_array($arguments[$callField])) {
94559461
$arguments[$callField] = array($arguments[$callField]);

0 commit comments

Comments
 (0)