a
This commit is contained in:
parent
31fe7fb6ea
commit
8ed9a136fc
|
|
@ -169,13 +169,18 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<!-- Si une demande est détecté -->
|
||||
<?php if ($faceRegistered=="1" && in_array($etatDemanderecFac, ["1", "6"] , true)) :
|
||||
$_SESSION['p_okId_face'] = "1";
|
||||
?>
|
||||
<?php if ($faceRegistered=="1" && $etatDemanderecFac>="0") : ?>
|
||||
<script type="text/javascript">
|
||||
face_confirmee = <?= $face_confirmee ?>;
|
||||
if(face_confirmee!='1'){
|
||||
location.reload();
|
||||
etatDemanderecFac = <?= $etatDemanderecFac ?>;
|
||||
if(["0", "6", "6"].includes(etatDemanderecFac)){
|
||||
/*
|
||||
setInterval(function() {
|
||||
location.reload();
|
||||
}, 5000);
|
||||
*/
|
||||
setTimeout(function() {
|
||||
location.reload();
|
||||
}, 5000);
|
||||
}
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user