a
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user