added client creation and fixed assignment

This commit is contained in:
2026-04-19 08:58:15 +02:00
parent 0cacddaffe
commit 81a8bfd906
7 changed files with 340 additions and 1 deletions

View File

@ -30,7 +30,7 @@ case 'GET':
$coaches = $stmt->fetchAll(PDO::FETCH_ASSOC);
}
[$clause, $params] = rbac_client_filter($tokenRec);
[$clause, $params] = rbac_client_filter($tokenRec, 'cl');
$clientStmt = $pdo->prepare(
"SELECT cl.clientCode, cl.coachID, co.username AS coachUsername
FROM client cl