This commit is contained in:
KANE LAZENI 2025-12-20 10:42:09 +00:00
parent 6d835dcd43
commit 335651045f

View File

@ -528,31 +528,11 @@
if($faceRegistered == "1" && $lienPhoto>" ")
{
/*
$photo = $_SESSION['lienPhotoFace'] . $lienPhoto;
if(!file_exists($photo))
{
$photoAssureCrypte = "";
}
else
{
$photoAssureCrypte = decryptImage($photo);
}
*/
$photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto;
$photoAssureCrypte = $photo;
}
/*
var_dump
(
array(
"photoAssureCrypte" => $photoAssureCrypte,
)
);
*/
$prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']);
@ -627,15 +607,10 @@
if($faceRegistered == "1" && $lienPhoto>" ")
{
$photo = $_SESSION['lienPhotoFace'] . $lienPhoto;
if(!file_exists($photo))
{
$photoAssureCrypte = "";
}
else
{
$photoAssureCrypte = decryptImage($photo);
}
$photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto;
$photoAssureCrypte = $photo;
}
?>
<div class="card-body py-2">
@ -644,7 +619,7 @@
<?php if($faceRegistered == "1"): ?>
<div class="photo-zoom-container text-center mb-2" style="display: inline-block;">
<img class="photoId rounded-circle photo-zoom"
src="data:image/jpg;base64,<?=$photoAssureCrypte?>"
src="<?=$photoAssureCrypte?>"
alt="<?= _("Photo Bénéficiaire") ?>"
>
</div>