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/psr/http-client/CHANGELOG.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/LICENSE vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/README.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/composer.json vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/src/ClientExceptionInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/src/ClientInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/src/NetworkExceptionInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-client/src/RequestExceptionInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/LICENSE vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/README.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/composer.json vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/RequestFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/ResponseFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/StreamFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-factory/src/UriFactoryInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/CHANGELOG.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/LICENSE vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/README.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/composer.json vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/docs/PSR7-Interfaces.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/docs/PSR7-Usage.md vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/MessageInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/RequestInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/ResponseInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/ServerRequestInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/StreamInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/UploadedFileInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/http-message/src/UriInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/.editorconfig vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/LICENSE.md vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/README.md vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/composer.json vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/src/CacheException.php vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/src/CacheInterface.php vendored Normal file → Executable file
View File

0
api/vendor/psr/simple-cache/src/InvalidArgumentException.php vendored Normal file → Executable file
View File