This commit is contained in:
KANE LAZENI 2026-07-19 13:20:37 +00:00
parent 74dfaac38c
commit f639a933c6
3 changed files with 13 additions and 1 deletions

View File

@ -25599,6 +25599,17 @@ function ajoute_dentaire()
return;
}
var numeroDentObligatoire = $('#numeroDentObligatoire').val();
alert("numeroDentObligatoire => "+numeroDentObligatoire);
if (!numeroDentObligatoire || numeroDentObligatoire.trim() <= " ") {
alert_ebene(
"Veuillez sélectionner un numéro de dent!",
"Please select a tooth number!"
);
return;
}
var ententePrealable = $('#ententePrealable').val();
var numeroDent = $("#numeroDent").val();

View File

@ -32,6 +32,7 @@ numeroDentObligatoire => <?= $numeroDentObligatoire ?>
<input class="sr-only" id="bonCaduc" name="bonCaduc" type="text" value= "<?= $bonCaduc ?>" >
<input class="sr-only" id="facture" name="facture" type="text" value= "<?= $facture ?>" >
<INPUT class="sr-only" type="text" id="dentisteriePossible" name="dentisteriePossible" value="1" >
<input class="sr-only" id="numeroDentObligatoire" name="numeroDentObligatoire" type="text" value= "<?= $numeroDentObligatoire ?>" >
<input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>">

View File

@ -891,7 +891,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
<script src="Js/fonctions.js?ver=2026.07.18.03"></script>
<script src="Js/fonctions.js?ver=2026.07.19.00"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>