a
This commit is contained in:
174
Js/fonctions.js
174
Js/fonctions.js
@@ -5369,16 +5369,11 @@ function facturer_cso(user_id)
|
||||
type: 'POST',
|
||||
data: donnees_substitut,
|
||||
success: function(data) {
|
||||
// KANE 17/03/2025 => ne pas envoyer de SMS d'alerte de facturation
|
||||
// preparesms_adherent(typeSms);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function()
|
||||
{
|
||||
// KANE 17/03/2025 => ne pas envoyer de mail d'alerte de facturation
|
||||
// preparemail_adherent(typeSms);
|
||||
|
||||
v_msg="Facturation d\u00e9finitive effectu\u00e9e avec succès!";
|
||||
v_msgEng="Final invoicing successfully completed!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
@@ -15600,56 +15595,6 @@ function ajax_maj_qte_acte_miseenobservation(idDetail, quantite, controle)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function ajax_maj_prix_acte_hospitalisation(idPrestationactes, valeurActe, controle)
|
||||
{
|
||||
|
||||
valeurActe=valeurActe.replace(",",".");
|
||||
controle.value=valeurActe;
|
||||
|
||||
valeurActe=valeurActe.replace(/ /g,"");
|
||||
valeurActe=parseInt(valeurActe.replace(",","."),10);
|
||||
controle.value=valeurActe;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
/*
|
||||
if(valeurActe==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir le prix!";
|
||||
v_msgEng="Please enter the price!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
*/
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&valeurActe="+valeurActe;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
//$("#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()+"Ajaxselectactesmedicauxhospitalisation/majvaleuracte/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Valide la sélection d'un acte médical avec vérification des prérequis
|
||||
* et gestion des ententes préalables si nécessaire.
|
||||
@@ -15820,52 +15765,6 @@ async function supprimer_acte_medical_hospitalisation(idPrestationactes, codeTyp
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function ajax_maj_qte_acte_hospitalisation(idPrestationactes, quantite, controle)
|
||||
{
|
||||
quantite=quantite.replace(",",".");
|
||||
controle.value=quantite;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
if(quantite==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir la quantit\u00e9!";
|
||||
v_msgEng="Please enter the quantity!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
|
||||
//$("#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()+"Ajaxselectactesmedicauxhospitalisation/majquantite/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function prestations_hospitalisation(){
|
||||
|
||||
$.ajax({
|
||||
@@ -28821,3 +28720,76 @@ function ajaxprixseancesea()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function ajax_maj_qte_acte_hospitalisation(idPrestationactes, quantite, controle)
|
||||
{
|
||||
quantite=quantite.replace(",",".");
|
||||
controle.value=quantite;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
if(quantite==0)
|
||||
{
|
||||
controle.focus();
|
||||
v_msg="Veuillez saisir la quantit\u00e9!";
|
||||
v_msgEng="Please enter the quantity!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
//donnee_a_affciher = "";
|
||||
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&quantite="+quantite;
|
||||
|
||||
|
||||
//$("#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()+"Ajaxselectactesmedicauxhospitalisation/majquantite/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
//prestations_hospitalisation();
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
//afficherPlafondHospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function ajax_maj_prix_acte_hospitalisation(idPrestationactes, valeurActe, controle)
|
||||
{
|
||||
valeurActe=valeurActe.replace(",",".");
|
||||
controle.value=valeurActe;
|
||||
|
||||
valeurActe=valeurActe.replace(/ /g,"");
|
||||
valeurActe=parseInt(valeurActe.replace(",","."),10);
|
||||
controle.value=valeurActe;
|
||||
|
||||
if(controle_numerique(controle))
|
||||
{
|
||||
donnees = 'idPrestationactes='+idPrestationactes+"&valeurActe="+valeurActe;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxselectactesmedicauxhospitalisation/majvaleuracte/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
ajaxactespossibles_selection_hospitalisation();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
9
Js/fonctions.min.js
vendored
9
Js/fonctions.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user