corentin_wakdo/tests/Unit/Admin
Imugiii c2a0cfdd89
All checks were successful
CI / secret-scan (push) Successful in 20s
CI / php-lint (push) Successful in 49s
CI / static-tests (push) Successful in 1m48s
CI / js-tests (push) Successful in 59s
CI / secret-scan (pull_request) Successful in 20s
CI / php-lint (pull_request) Successful in 45s
CI / static-tests (pull_request) Successful in 1m39s
CI / js-tests (pull_request) Successful in 1m8s
feat(back-office): saisie commande comptoir/drive en POS tactile a tuiles
Remplace le formulaire-liste (champs quantite) par un ecran de caisse facon
tablette : onglets categories + grille de tuiles produits/menus (tap = ajout)
+ panneau commande persistant a droite (lignes avec +/-, total, bouton
"Encaisser X,XX EUR"). Le contrat serveur ne change pas (items_json -> store ->
createStaffOrder) ; les acquis du lot precedent sont conserves (verrou drive,
service_tag dine_in, format Normal/Maxi, prix indicatifs cote client).

Accessibilite : pattern tablist clavier complet (roving tabindex + fleches +
Home/End + aria-controls/tabpanel), focus conserve au changement d'onglet,
region live concise (total + nb articles), tuiles ouvrant une modale annoncees
(aria-haspopup + libelle "a composer"). Quantite menu desormais ajustable
(facturee par quantite). Catalogue passe en scripts JSON inertes (JSON_HEX_*),
rendu via textContent. CSP-safe (aucun handler inline).

Tests : JS 135, PHP unit 406, PHPStan L6. Apercu valide par le commanditaire.
2026-06-24 12:24:01 +00:00
..
CategoryControllerTest.php feat(admin): humanise les libelles restants (Reference/Variation/Auteur) (#54) 2026-06-18 13:45:46 +02:00
CounterOrderControllerTest.php feat(back-office): saisie commande comptoir/drive en POS tactile a tuiles 2026-06-24 12:24:01 +00:00
DashboardControllerTest.php feat(admin): dashboard donnees reelles (lot 2) (#50) 2026-06-18 12:24:43 +02:00
IngredientControllerTest.php feat(stock): enrichissement nutritionnel via API externe OpenFoodFacts (Cr 3.a.3) (#79) 2026-06-22 09:31:15 +02:00
KitchenControllerTest.php feat(orders): KDS cuisine + transition paid vers delivered (P3 operationnel) (#81) 2026-06-22 09:28:39 +02:00
MenuControllerTest.php fix(admin): conflits HTTP 409 au lieu de 422 (delete FK-bloque + course unicite) (#33) 2026-06-17 10:11:28 +02:00
OrderAdminControllerTest.php feat(orders): annulation de commande (CANCEL_ORDER) - PIN + audit + restock (mlt 7.1) (#83) 2026-06-22 11:35:55 +02:00
PrivacyControllerTest.php feat(admin): page d'information RGPD sur le traitement des donnees (Cr 3.d.2) (#72) 2026-06-22 08:29:22 +02:00
ProductControllerTest.php feat(admin): recettes produit - composition product_ingredient + dispo calculee RG-T21 (P3, ferme #27) (#35) 2026-06-17 11:29:07 +02:00
ProfileControllerTest.php feat: PIN self-service P3 (/admin/profile/pin) (#16) 2026-06-15 22:04:14 +02:00
RoleControllerTest.php feat(admin): RBAC - matrice roles/permissions + roles custom (PIN+audit diff) (P3) (#39) 2026-06-17 14:25:42 +02:00
StatsControllerTest.php feat(admin): liste des commandes + KPIs de vente (P4) (#70) 2026-06-19 20:24:33 +02:00
UserControllerTest.php feat(admin): gestion des comptes back-office (CRUD users + RGPD, PIN+audit) (P3) (#38) 2026-06-17 13:49:02 +02:00