This commit is contained in:
2026-03-13 11:03:42 +00:00
parent 606e9b2ef2
commit 51a5d52f9f
3 changed files with 13 additions and 7 deletions

View File

@@ -28797,8 +28797,6 @@ function no_presciption()
const numOrd = $("#numOrd").val();
const noPrescription = $("#noPrescription").val();
alert("numOrd = "+numOrd+" ; noPrescription = "+noPrescription);
// Si aucune ordonnance ni indication "pas de prescription"
if (numOrd == "0" && noPrescription == "0") {
const v_msg = "Confirmez-vous qu'il n'y a pas de prescription de m\u00e9dicaments?";
@@ -28812,10 +28810,15 @@ function no_presciption()
$.ajax({
url: $("#racineWeb").val() + "Ajaxenregistrerprescription/noprescription/",
type: 'post',
error: function(errorData) {},
success: function(data) {},
error: function(errorData) {
alert(errorData);
},
success: function(data) {
alert(data);
},
complete: function() {
feuillemaladie(); // Rechargement de la feuille de maladie
// feuillemaladie(); // Rechargement de la feuille de maladie
}
});
}