This commit is contained in:
2026-06-23 17:22:20 +00:00
parent e42f97ea5b
commit 0e1633a6c6
3 changed files with 530 additions and 0 deletions

View File

@@ -28994,3 +28994,43 @@ function calculImc()
}
}
function imprimer_prescription()
{
var nomForm = $("#nomForm").val();
var mlink = '';
var donnees = '';
if(nomForm == "prescription")
{
mlink = "Ajaximprimerbonmedicament/";
}else if(nomForm=="prescriptionexamen")
{
mlink = "Ajaximprimerbonexamen/";
}
//alert(mlink); return;
$.ajax({
url: $("#racineWeb").val()+mlink,
type : 'post',
data: donnees,
error: function(errorData){
//alert("Erreur : "+errorData);
console.log(errorData);
},
success: function(data) {
//alert("Success : "+data);
$("#div_export_b").html(data);
},
complete: function() {
}
});
}