From c1b61deb26c9bd12b1e48e60229a01ed22934874 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 11 Mar 2026 23:34:02 +0000 Subject: [PATCH] a --- Js/fonctions.js | 9 +++++++++ Vue/gabarit.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index d47bcfb..710b7a1 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -26103,6 +26103,15 @@ function dentisterie() function ajoute_dentaire() { var codeActe = $('#codeActe').val(); + + // 4. Validation de la sélection d'acte + if (!codeActe || codeActe.trim() <= " ") { + await alert_ebene( + "Veuillez sélectionner un acte!", + "Please select an act!" + ); + return; + } var ententePrealable = $('#ententePrealable').val(); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 39c546e..805a1ae 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -909,7 +909,7 @@ - +