a
This commit is contained in:
@@ -26113,34 +26113,11 @@ function ajoute_dentaire()
|
||||
var idCollege = $('#idCollege').val();
|
||||
var nbreProthese = $('#nbreProthese').val();
|
||||
|
||||
|
||||
/*
|
||||
if(codeTypeActe=="PRO" && idCollege=="1"){
|
||||
v_msg="La prothèse dentaire n'est pas prise en charge pour ce patient! Veuillez contacter l'assureur.";
|
||||
v_msgEng="The dental prosthesis is not covered for this patient! Please contact the insurer.";
|
||||
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}else if(codeTypeActe=="PRO" && nbreProthese > "0"){
|
||||
v_msg="Le patient a déjà bénéficié d'une prothèse dentaire en cette année! Veuillez contacter l'assureur.";
|
||||
v_msgEng="The patient has already benefited from a dental prosthesis this year! Please contact the insurer.";
|
||||
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
donnees = 'codeActe='+codeActe+'&numeroDent='+numeroDent+'&motifDentaire='+motifDentaire;
|
||||
|
||||
//alert(donnees);
|
||||
//return;
|
||||
|
||||
var div_prestations = $('#div_prestations');
|
||||
div_prestations.html('<div style="text-align:center; color: #4caf50 ; font-size:14px;"><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdetaildentisterie/ajouter/",
|
||||
type: 'POST',
|
||||
@@ -26156,27 +26133,13 @@ function ajoute_dentaire()
|
||||
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
return;
|
||||
}/*else{
|
||||
|
||||
//if(ententePrealable == "1"){
|
||||
//preparesms(typeSms);
|
||||
|
||||
//v_msg="Demande accord prealable envoyée!";
|
||||
//v_msgEng="Request prior agreement sent!";
|
||||
|
||||
//alert_ebene(v_msg, v_msgEng);
|
||||
//return;
|
||||
//}
|
||||
|
||||
}*/
|
||||
|
||||
}
|
||||
},
|
||||
error : function(resultat, statut, erreur)
|
||||
{
|
||||
},
|
||||
complete: function(data)
|
||||
{
|
||||
//
|
||||
dentisterie();
|
||||
}
|
||||
});
|
||||
@@ -28797,24 +28760,36 @@ function modifier_prix_seance() {
|
||||
prixModifiable = $('#prixModifiable').val();
|
||||
prixSaisi = $('#prixSaisi').val();
|
||||
|
||||
/*
|
||||
donnees += 'prixSaisi='+prixSaisi;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxprixseance/majprixseance/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#livraison").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
ajaxprixseance();
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
ajaxprixseance();
|
||||
}
|
||||
|
||||
function modifier_prix_dentisterie(idDentisterie, prixSaisi) {
|
||||
donnees = 'idDentisterie='+idDentisterie+'&prixSaisi='+prixSaisi;
|
||||
|
||||
alert("modifier_prix_dentisterie => "+donnees);
|
||||
return;
|
||||
|
||||
if (prixSaisi <= "0"){
|
||||
v_msg="Rien à faire!";
|
||||
v_msgEng="Nothing to do!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxdetaildentisterie/majprixdentisterie/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
/*
|
||||
success: function(data) {
|
||||
$("#div_prestations").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
*/
|
||||
complete: function() {
|
||||
dentisterie();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user