Sam Holtby wrote:
Hi, Ok here are the params for the method. As you can see, they do not match up. For example, 15:30pm is missing from the union results.
getStartTimeMatrix($dateFrom, $dateTo, $serviceId, $performer, $qty)
+Params and result with performer IDs:+
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": [
"60",
"53",
"50",
"48",
"45",
"38",
"22",
"1"
],
"$qty": 1
Results:
"2019-09-12": [
"10:00:00",
"11:45:00",
"13:15:00",
"14:45:00",
"17:00:00"
]
+Params and result for each performer ID:+
Params and results for $performerId 60:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "60",
"$qty": 1
"2019-09-12": []
Params and results for $performerId 53:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "53",
"$qty": 1
"2019-09-12": [
"11:45:00",
"13:15:00",
"14:45:00"
]
Params with $performerId 50:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "50",
"$qty": 1
"2019-09-12": [
"10:00:00",
"15:30:00",
"17:00:00"
]
Params and results for $performerId 48:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "48",
"$qty": 1
"2019-09-12": []
Params and results for $performerId 45:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "45",
"$qty": 1
"2019-09-12": []
Params and results for $performerId 38:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "38",
"$qty": 1
"2019-09-12": []
Params and results for $performerId 22:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "22",
"$qty": 1
"2019-09-12": [
"10:00:00"
]
Params and results for $performerId 1:
"$dateFrom": "2019-09-12",
"$dateTo": "2019-09-12",
"$serviceId": 2,
"$performerId": "1",
"$qty": 1
"2019-09-12": []