Merge branch 'main' of git.ebene.ovh:ebene/radiantrh

This commit is contained in:
KONE SOREL 2026-01-04 12:40:54 +00:00
commit 92648fbdd0
3 changed files with 27 additions and 3 deletions

View File

@ -449,6 +449,7 @@ require_once 'Framework/Localisation.php';
$this->requete->getSession()->setAttribut("dossierGed", $_SESSION['lienProduction_C'].$_SESSION['dossierSociete'].'/Ged/');
$this->requete->getSession()->setAttribut("cheminGed", $_SESSION['dossierSociete'].'/Ged/');
$this->requete->getSession()->setAttribut("cheminPhoto", $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/');
$this->requete->getSession()->setAttribut("devise_C", $utilisateur['devise']);
$this->requete->getSession()->setAttribut("langSociete", $utilisateur['codeLangueSociete']);

View File

@ -164,6 +164,7 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th class="text-center"> <?= _("Photo") ?> </th>
<th style='text-align:center'> <?= _("No") ?> </th>
<th> <?= _("Nom") ?> </th>
<th> <?= _("Prénoms") ?> </th>
@ -207,10 +208,34 @@
{
$lienParente = $this->nettoyer($beneficiaire['LienParente']);
}
$faceRegistered = $this->nettoyer($beneficiaire['faceRegistered']);
$lienPhoto = $this->nettoyer($beneficiaire['lienPhoto']);
// vérifier que la photo du bénéficiaire existe
$photo = "";
$photoAssureCrypte = "";
if($faceRegistered == "1" && $lienPhoto>" ")
{
$photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto;
$photoAssureCrypte = $photo;
}
?>
<tr onclick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');"
ondblclick="javascript:afficher_beneficiaire_id();" valign="top">
<td align='center'>
<?php if($faceRegistered == "1"): ?>
<img class="photoId rounded-circle photo-zoom"
src="<?=$photoAssureCrypte?>"
alt="<?= _("Photo Bénéficiaire") ?>"
>
<?php endif; ?>
</td>
<td
align="center"> <input type="button" value="<?= $numeroBeneficiaire ?>"

View File

@ -406,9 +406,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
array
(
"lienPhotoFace" => $_SESSION['lienPhotoFace'],
"okId_face" => $_SESSION['okId_face'],
"fingerActif" => $_SESSION['fingerActif'],
"faceActif" => $_SESSION['faceActif'],
"cheminPhoto" => $_SESSION['cheminPhoto'],
)
);
*/