a
This commit is contained in:
@@ -1682,4 +1682,49 @@ function afficher_beneficiaire_id()
|
||||
{
|
||||
window.location.assign($("#racineWeb" ).val()+"Fichebeneficiaire/"+idBeneficiaire+"/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function creer_beneficiaires()
|
||||
{
|
||||
etat=$("#codeEtatPolice_C").val();
|
||||
|
||||
if (etat=="RE")
|
||||
{
|
||||
v_msg="Attention! Police résiliée!";
|
||||
v_msgEng="Warning! Terminated policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (etat=="SU")
|
||||
{
|
||||
v_msg="Attention! Police suspendue!";
|
||||
v_msgEng="Warning! Suspended policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (etat=="AN")
|
||||
{
|
||||
v_msg="Attention! Police annulée!";
|
||||
v_msgEng="Warning! Canceled policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
etatadh=$("#codeEtatAdherent_C").val();
|
||||
|
||||
if (etatadh != "V")
|
||||
{
|
||||
v_msg="Attention! cette famille n\'est pas en vigueur!";
|
||||
v_msgEng="Warning! this family is not in force!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
window.location.assign($("#racineWeb" ).val()+"Creerbeneficiaire/");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user