fg
This commit is contained in:
parent
4fb32c8335
commit
d570442097
|
|
@ -46882,9 +46882,16 @@ function ajouter_tous_prestataires_reseau() {
|
|||
const codeReseau = $("#codeReseau").val();
|
||||
const lang = $("#codeLangue").val();
|
||||
|
||||
const count = $("#count_dispo").text();
|
||||
// Récupère le nombre et le convertit en entier
|
||||
const count = parseInt($("#count_dispo").text()) || 0;
|
||||
|
||||
if (count === 0) {
|
||||
const v_msg = "Aucune donnée à transférer !";
|
||||
const v_msgEng = "No data to transfer!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
return;
|
||||
}
|
||||
|
||||
alert(count);
|
||||
|
||||
// 1. Vérification de la sélection du réseau
|
||||
if (!codeReseau || codeReseau.trim() === "") {
|
||||
|
|
@ -46996,6 +47003,16 @@ function retirer_tous_prestataires_reseau() {
|
|||
const codeReseau = $("#codeReseau").val();
|
||||
const lang = $("#codeLangue").val();
|
||||
|
||||
// Récupère le nombre et le convertit en entier
|
||||
const count = parseInt($("#count_affect").text()) || 0;
|
||||
|
||||
if (count === 0) {
|
||||
const v_msg = "Aucune donnée à retirer !";
|
||||
const v_msgEng = "No data to remove!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
return;
|
||||
}
|
||||
|
||||
// 1. Vérification de la sélection
|
||||
if (!codeReseau || codeReseau.trim() === "") {
|
||||
const v_msg = "Veuillez sélectionner un réseau de soins !";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user