datejour; $estcouvert = ($_SESSION['dateEcheancePolice_C']>=$datejour); $sorti = $this->nettoyer($beneficiaire['sorti']); $dateSortieBeneficiaire = $this->nettoyer($beneficiaire['dateSortieBeneficiaire']); $estsorti = false; if($sorti=="1") { $estsorti = ($dateSortieBeneficiaire<=$datejour); $estcouvert = ($estcouvert && ($dateSortieBeneficiaire>$datejour)); } $dateEffetCouvert = $_SESSION['dateEffetCouvert']; if (est_anglophone()) { $produit = $beneficiaire['produitEng']; $naturepiece = $beneficiaire['naturepieceEng']; $lienparente = $beneficiaire['lienparenteEng']; $motifsortie = $beneficiaire['motifsortieEng']; $etatbeneficiaire = $beneficiaire['etatbeneficiaireEng']; if($beneficiaire['sexe']=="M"){ $sexe = "Male"; }else{ $sexe = "Female"; } } else { $produit = $beneficiaire['produit']; $naturepiece = $beneficiaire['naturepiece']; $lienparente = $beneficiaire['lienparente']; $motifsortie = $beneficiaire['motifsortie']; $etatbeneficiaire = $beneficiaire['etatbeneficiaire']; if($beneficiaire['sexe']=="M"){ $sexe = "Masculin"; }else{ $sexe = "Féminin"; } } $codeEtatBeneficiaire = $beneficiaire['codeEtatBeneficiaire']; $codeLienParente = $beneficiaire['codeLienParente']; $produit = $beneficiaire['produit']; $faceRegistered = $this->nettoyer($beneficiaire['faceRegistered']); $fingerActif = '0'; $faceActif = '0'; // $imgData = $_SESSION['photoAssureCrypte']; $photoAssureCrypte = $_SESSION['photoAssureCrypte']; function verifierTelephone($numero) { // On prend les 3 premiers caractères du numéro $prefixe = substr($numero, 0, 3); // Vérification si le préfixe est égal à "250" if ($prefixe === "250") { return "0"; } else { return "1"; } } $telephone = $beneficiaire['telephonePortable']; $format = strlen($telephone) > "4" ? verifierTelephone($telephone) : "0"; ?>

Photo du bénéficiaire

:
nettoyer($beneficiaire['age']) ?> ans
nettoyer($beneficiaire['dateNaissance'])) ?>
>
">
@
/
nettoyer($police['plafondOut']) ?: 0; $consommationGlobaleFamilleOut = $this->nettoyer($police['consommationOut']) ?: 0; $soldeConsommationOut = $this->nettoyer($police['soldeConsommationOut']) ?: 0; $niveauGlobalConsoFamilleOut = ($plafondGlobalFamilleOut > 0) ? ($consommationGlobaleFamilleOut * 100) / $plafondGlobalFamilleOut : 0; $plafondGlobalFamilleInp = $this->nettoyer($police['plafondInp']) ?: 0; $consommationGlobaleFamilleInp = $this->nettoyer($police['consommationInp']) ?: 0; $soldeConsommationInp = $this->nettoyer($police['soldeConsommationInp']) ?: 0; $niveauGlobalConsoFamilleInp = ($plafondGlobalFamilleInp > 0) ? ($consommationGlobaleFamilleInp * 100) / $plafondGlobalFamilleInp : 0; // --- 2. CALCULS INDIVIDUELS (Bénéficiaire) --- $consommationGlobaleBenefOut = $this->nettoyer($college['consommation_individuOut']) ?: 0; $niveauGlobalConsoBenefOut = ($plafondGlobalFamilleOut > 0) ? ($consommationGlobaleBenefOut * 100) / $plafondGlobalFamilleOut : 0; $consommationGlobaleBenefInp = $this->nettoyer($college['consommation_individuInp']) ?: 0; $niveauGlobalConsoBenefInp = ($plafondGlobalFamilleInp > 0) ? ($consommationGlobaleBenefInp * 100) / $plafondGlobalFamilleInp : 0; ?>
= 90) ? 'danger' : (($niveauGlobalConsoFamilleOut >= 70) ? 'warning' : 'success'); ?>
%
= 90) ? 'danger' : (($niveauGlobalConsoFamilleInp >= 70) ? 'warning' : 'success'); ?>
%
'OUTPATIENT', 'val' => $consommationGlobaleBenefOut, 'percent' => $niveauGlobalConsoBenefOut], ['label' => 'INPATIENT', 'val' => $consommationGlobaleBenefInp, 'percent' => $niveauGlobalConsoBenefInp] ]; foreach($indiv as $item): ?>
: %