This commit is contained in:
KANE LAZENI 2025-12-19 20:35:55 +00:00
parent c757aaed0a
commit 586aeeb3b7
3 changed files with 18 additions and 12 deletions

View File

@ -524,6 +524,7 @@
$photoAssureCrypte = $photo; $photoAssureCrypte = $photo;
} }
/*
var_dump var_dump
( (
array( array(
@ -531,6 +532,8 @@
) )
); );
*/
$prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']); $prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']);
$impaye = ($prestationPossible=="0") ? 1 : 0; $impaye = ($prestationPossible=="0") ? 1 : 0;

View File

@ -54,15 +54,6 @@
// $imgData = $_SESSION['photoAssureCrypte']; // $imgData = $_SESSION['photoAssureCrypte'];
$photoAssureCrypte = $_SESSION['photoAssureCrypte']; $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
var_dump
(
array(
"photoAssureCrypte" => $photoAssureCrypte,
)
);
?> ?>
<style> <style>
@ -170,7 +161,7 @@
<div class="col-12 col-md-3 text-center mb-4"> <div class="col-12 col-md-3 text-center mb-4">
<?php if ($beneficiaire['faceRegistered']=="1"): ?> <?php if ($beneficiaire['faceRegistered']=="1"): ?>
<img <img
src="<?=$photoAssureCrypte?>" src="<?=$photoAssureCrypte?>"
class="img-fluid rounded-circle shadow" class="img-fluid rounded-circle shadow"
style="width: 120px; height: 120px; object-fit: cover; cursor:pointer;" style="width: 120px; height: 120px; object-fit: cover; cursor:pointer;"
data-bs-toggle="modal" data-bs-toggle="modal"

View File

@ -24,6 +24,17 @@
$companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES); $companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
$imgData = $_SESSION['photoAssureCrypte']; $imgData = $_SESSION['photoAssureCrypte'];
$photoAssureCrypte = $_SESSION['photoAssureCrypte'];
var_dump
(
array(
"photoAssureCrypte" => $photoAssureCrypte,
)
);
?> ?>
<!doctype html> <!doctype html>
@ -364,7 +375,8 @@
<!-- Photo --> <!-- Photo -->
<div class="photo-container text-center mb-2"> <div class="photo-container text-center mb-2">
<?php if ($_SESSION['faceRegistered_C']=="1" && $_SESSION['idBeneficiaire_C'] > "0"): ?> <?php if ($_SESSION['faceRegistered_C']=="1" && $_SESSION['idBeneficiaire_C'] > "0"): ?>
<img src="data:image/jpg;base64,<?=$imgData?>" <img
src="<?=$photoAssureCrypte?>"
class="img-fluid rounded" style="width: 200px;" data-bs-toggle="modal" data-bs-target="#pop_photo" alt="<?= _("Photo") ?>"> class="img-fluid rounded" style="width: 200px;" data-bs-toggle="modal" data-bs-target="#pop_photo" alt="<?= _("Photo") ?>">
<?php endif; ?> <?php endif; ?>
</div> </div>
@ -485,7 +497,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<img src="data:image/jpg;base64,<?=$imgData?>" style="width: 450px;" > <img src="<?=$photoAssureCrypte?>" style="width: 450px;" >
</div> </div>
<div class="modal-footer"> <div class="modal-footer">