This commit is contained in:
2026-01-05 01:09:00 +00:00
parent e31d160b97
commit c513ac2e6b
6 changed files with 278 additions and 1 deletions

View File

@@ -3133,3 +3133,37 @@ function afficher_garantieadherent_entete_contrat()
}
});
}
function changer_etat_adherent()
{
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;
}
window.location.assign($("#racineWeb" ).val()+"Changeretatadherent/");
}