This commit is contained in:
KONE SOREL 2026-04-24 14:42:59 +00:00
parent 271e41a041
commit 322604f5fc
2 changed files with 15 additions and 2 deletions

View File

@ -4655,6 +4655,16 @@ function consulterfactureged_pop()
});
}
function rechercher_assure()
{
idPolice = $("#idPolice").val();
if(idPolice == "" || idPolice == undefined){
lister_polices_client(1);
}else{
window.location.assign($("#racineWeb" ).val()+"Rechercherassure/");
}
}
function lister_polices_client(id) {
const vues = {

View File

@ -1,4 +1,7 @@
<?php $this->titre = "Intersanté - Demandes des frais funéraires"; ?>
<?php $this->titre = "Intersanté - Demandes des frais funéraires";
$idPolice = isset($_SESSION['idPolice_C']) ? $_SESSION['idPolice_C'] : "";
?>
<div id="div_liste_adherent" class="container-fluid py-3 animate__animated animate__fadeIn">
@ -18,7 +21,7 @@
</label>
<div class="input-group">
<select class="form-select fw-bold border-secondary-subtle" id="idPolice" name="idPolice" required>
<?php liste_options($polices, $_SESSION['idPolice_C'], false); ?>
<?php liste_options($polices, $idPolice, false); ?>
</select>
</div>
</div>