Implement toggle for read/write mode across entity pages and enhance Documents and Divers functionality

- Added a toggle for switching between read and write modes on the Articles, Documents, Journaux, Tiers, and Divers pages, allowing users to access both data retrieval and data submission endpoints.
- Updated the Documents page to cover all 9 documented endpoints, including 7 for reading and 2 for writing, with appropriate error handling.
- Created a new Divers page to handle three endpoints: getserialnumber, codes_list, and custom_geninv_updatestock (the latter being non-functional).
- Introduced new methods in LogisticsService for handling PDF generation and stock updates, with corresponding updates in the API documentation.
- Improved form field components for better visual spacing in input fields.
This commit is contained in:
2026-02-20 15:51:58 +01:00
parent 8637dcc7cb
commit 7df94b64fa
22 changed files with 1777 additions and 376 deletions

View File

@@ -1,6 +1,6 @@
# Documentation API Logistics (Flex/ESI Gescom)
Dernière mise à jour : 2026-02-20
Dernière mise à jour : 2026-02-21
---
@@ -871,6 +871,7 @@ Les endpoints suivants ont été identifiés mais ne fonctionnent pas dans l'ét
| | |
|---|---|
| **URL** | `POST /{dossier}/Document_GetPDF` |
| **Méthode service** | `LogisticsService::documentGetPdf(string $jnl, string $number, string $layout)` |
| **Statut** | Non fonctionnel |
**Paramètres connus** :
@@ -890,6 +891,7 @@ Les endpoints suivants ont été identifiés mais ne fonctionnent pas dans l'ét
| | |
|---|---|
| **URL** | `POST /{dossier}/custom_geninv_updatestock` |
| **Méthode service** | `LogisticsService::customGeninvUpdatestock(array $params)` |
| **Statut** | Non fonctionnel |
**Paramètres connus** :