fix: Récupérer l'opération active depuis la table operations

- Corrige l'erreur SQL 'Unknown column fk_operation in users'
- L'opération active est récupérée depuis operations.chk_active = 1
- Jointure avec users pour filtrer par entité de l'admin créateur
- Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
This commit is contained in:
2026-01-26 16:57:08 +01:00
parent c24a3afe6a
commit 0687900564
3040 changed files with 77204 additions and 1578 deletions

0
api/vendor/markbaker/complex/.github/workflows/main.yml vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/README.md vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/classes/src/Complex.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/classes/src/Exception.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/classes/src/Functions.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/classes/src/Operations.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/composer.json vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/examples/complexTest.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/examples/testFunctions.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/examples/testOperations.php vendored Normal file → Executable file
View File

0
api/vendor/markbaker/complex/license.md vendored Normal file → Executable file
View File