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