Résolution conflits : version origin/main

This commit is contained in:
KONE SOREL 2026-03-04 01:54:11 +00:00
commit 411db2b2a2
474 changed files with 5585 additions and 11421 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
Config/
Config
Config/dev.ini
vendor/
vendor
logs/
logs
Cron/prod.ini
Temp/
Temp

View File

@ -31,6 +31,7 @@ class ControleurAjaxeditioncarteassure extends Controleur
return; return;
} }
error_reporting(E_ALL & ~E_DEPRECATED);
include 'phpqrcode/qrlib.php'; include 'phpqrcode/qrlib.php';
$pdf = new FPDF_Protection('L', 'mm', array(85.6, 54)); $pdf = new FPDF_Protection('L', 'mm', array(85.6, 54));

View File

@ -1,125 +0,0 @@
<?php
require_once 'Framework/Controleurrequete.php';
require_once 'Modele/Carteassure.php';
class ControleurAjaxeditioncarteassure extends Controleur
{
private $carte;
public function __construct() {
$this->carte = new Carteassure();
}
public function index()
{
$idPolice = $this->requete->getParametreFormulaire("idPolice");
// 1. Récupération des assurés
$assures = $this->carte->getListeEditionCarteAssure($idPolice);
// Vérification des données avant création PDF
if (empty($assures)) {
echo '<div class="alert alert-warning">'._("Aucun assuré trouvé pour les critères sélectionnés").'</div>';
return;
}
$logoSocietePath = $_SESSION['dossierLogo'];
// $fondPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/fond_carte.png';
if (!file_exists($_SESSION['dossierLogo'])) {
echo '<div class="alert alert-warning">'._("Le logo de la société est introuvable").'</div>';
return;
}
// 1. Inclure la bibliothèque phpqrcode
// Définir le dossier de log AVANT l'include
/*
if (!defined('QR_LOG_DIR')) {
define('QR_LOG_DIR', sys_get_temp_dir() . '/');
}
*/
include 'phpqrcode/qrlib.php';
$pdf = new FPDF_Protection('L', 'mm', array(85.6, 54));
$pdf->SetAuthor('EBENE SOLUTIONS INFORMATIQUES');
$userPassword = $_SESSION['motPassPdf'];
$ownerPassword = null;
$pdf->SetProtection(['print'], $userPassword, $ownerPassword);
$pdf->SetAutoPageBreak(false);
$pdf->SetMargins(0, 0, 0);
$pdf->SetCreator(_('Système d\'édition de cartes'));
// Vérification avant d'ajouter des pages
$nombreAssures = count($assures);
if ($nombreAssures == 0) {
echo '<div class="alert alert-warning">'._("Aucune carte à générer").'</div>';
return;
}
// Définition de la colonne d'alignement pour les deux-points
$colonneAlignement = 20; // Position X commune pour l'alignement des deux-points
// Traitement de chaque assuré
$cartesGenerees = 0;
foreach ($assures as $index => $assure) {
$idCarte = $assure['beneficiaire_carte_temp'];
// Vérification des données obligatoires
if (empty($assure['nomBeneficiaire']) || empty($assure['prenomsBeneficiaire']) || !isset($assure['tauxCouverture'])) {
// Empêcher la confirmation de cette carte
$this->carte->selectionnerUnAssure($idCarte, '0');
continue;
}
// Ajout d'une nouvelle page pour chaque carte
$pdf->AddPage();
$cartesGenerees++;
// kane 23/09/2025 => rendre la carte personalisable par societeuser
require $_SESSION['dossierSociete'] . '/Tarifs/Controleur/Editioncarteassure.php';
// Vérification du nombre de pages (limite de sécurité)
if ($pdf->PageNo() >= 100) {
break;
}
}
// Vérification finale du nombre de pages générées
if ($cartesGenerees == 0) {
echo '<div class="alert alert-warning">'._("Aucune carte valide n'a pu être générée").'</div>';
return;
}
// création du fichier
$uniqid = uniqid();
$to_upload="Temp/TMP_CARTES_ASSURES_$uniqid.pdf";
$fichierTemp="Temp/$uniqid.pdf";
$pdf->Output($fichierTemp,"F");
// $fichier = pdf_to_image($fichierTemp, $to_upload, $uniqid, "0"); // => Pour cnvertir en image => eviter la cibversion en Word
$fichier = $fichierTemp;
// Lien de téléchargement
$t_html = '<div id="div_export_b" class="alert alert-info d-flex align-items-center justify-content-between flex-wrap">';
$t_html .= '<small class="me-3">' . sprintf(_("%d carte(s) générée(s) sur %d assuré(s)"), $cartesGenerees, $nombreAssures) . '</small>';
$t_html .= '<div class="d-flex gap-2 mt-2">';
// Bouton PRÉVISUALISER avec icône
$t_html .= '<a href="' . $fichier . '" target="_blank" class="btn btn-info btn-lg d-flex align-items-center">';
$t_html .= '<i class="fas fa-eye me-2"></i>' . _("PRÉVISUALISER");
$t_html .= '</a>';
// Bouton CONFIRMER avec icône
$t_html .= '<button type="button" class="btn btn-danger btn-lg d-flex align-items-center" onclick="javascript:confirmer_edition_carte();">';
$t_html .= '<i class="fas fa-check-circle me-2"></i>' . _("CONFIRMER");
$t_html .= '</button>';
$t_html .= '</div>';
$t_html .= '</div>';
echo $t_html;
}
}

View File

@ -1,155 +0,0 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Detailtarifacte.php';
class ControleurAjaxprixacte extends Controleur {
private $acte;
public function __construct() {
$this->acte = new Detailtarifacte();
}
public function index() {
$codeActe = $this->requete->getParametreFormulaire("codeActe");
$tm = ($_SESSION['p_tm_TP']>"0") ? $_SESSION['p_tm_TP'] : $_SESSION['p_tm_C'];
$referencementpolice = $this->acte->getReferencementPolice($_SESSION['p_idPolice_C']);
$avecReferencement = $referencementpolice['avecReferencement'];
$tauxAvecReferencement = $referencementpolice['tauxAvecReferencement'];
$tauxSansReferencement = $referencementpolice['tauxSansReferencement'];
$dateFinDelaiCarenceActe = $this->acte->getDateFinDelaiCarenceActe($codeActe);
//var_dump($dateFinDelaiCarenceActe);
//die();
$situation = $this->acte->getSituationActeBeneficiaire($codeActe);
$plafondActe = $this->acte->getplafondacte($codeActe);
$prixActeTarifPolice = $this->acte->getprixactetarifpolice($codeActe);
$prixActeTarifPrestataire = $this->acte->getprixactetarifprestataire($codeActe);
$prixActeTarifCollege = $this->acte->getprixactetarifcollege($codeActe);
$prixActeTarifPolicePrestataire = $this->acte->getprixactetarifpoliceprestataire($codeActe);
if (($plafondActe > "0") && ($plafondActe !="9999999999")) {
if ($prixActeTarifPolicePrestataire > "0") {
$prixActe = min($plafondActe,$prixActeTarifPolicePrestataire);
}else{
if ($prixActeTarifPolice > "0") {
if ($prixActeTarifPrestataire > "0") {
$prixActe = min($plafondActe,$prixActeTarifPrestataire);
}else{
$prixActe = min($plafondActe,$prixActeTarifCollege);
}
}else{
if ($prixActeTarifPrestataire > "0") {
$prixActe = min($plafondActe,$prixActeTarifPrestataire);
}else{
if($prixActeTarifCollege > "0"){
$prixActe = min($plafondActe,$prixActeTarifCollege);
}else{
$prixActe = $plafondActe;
}
}
}
}
}else{
if ($prixActeTarifPolicePrestataire > "0") {
$prixActe = $prixActeTarifPolicePrestataire;
}else{
if ($prixActeTarifPolice > "0") {
if ($prixActeTarifPrestataire > "0") {
$prixActe = $prixActeTarifPrestataire;
}else{
$prixActe = $prixActeTarifCollege;
}
}else{
if ($prixActeTarifPrestataire > "0") {
$prixActe = $prixActeTarifPrestataire;
}else{
$prixActe = $prixActeTarifCollege;
}
}
}
}
if($prixActeTarifPolice > "0"){
$prixBase = $prixActeTarifPolice;
if($prixActeTarifCollege > "0" && $prixActeTarifPrestataire > "0"){
$depassement = min($prixActeTarifCollege,$prixActeTarifPrestataire)-$prixBase;
}else{
$depassement = $prixActe-$prixBase;
}
$_SESSION['prixBase'] = $prixBase;
$_SESSION['depassement'] = $depassement;
}else{
$prixBase = $prixActe;
$depassement = 0;
$_SESSION['prixBase'] = 0;
$_SESSION['depassement'] = 0;
}
//$montantTm = round(($prixBase*$tm)/100);
//$aRembourser = $prixBase-$montantTm;
//var_dump($dateFinDelaiCarenceActe);
//die();
if ($situation['soldeConsommation'] <= "0" || $dateFinDelaiCarenceActe!="1970-01-01")
{
if($prixBase > $situation['soldeConsommation'])
{
$montantTm = $prixBase-$situation['soldeConsommation'];
$aRembourser = $situation['soldeConsommation'];
}
else
{
$montantTm = $prixBase;
$aRembourser = "0";
}
}
else
{
if($situation['nbreTransaction'] > "0")
{
if($situation['soldeNbreTransaction'] <= "0")
{
if($prixBase > $situation['soldeConsommation'])
{
$montantTm = $prixBase-$situation['soldeConsommation'];
$aRembourser = $situation['soldeConsommation'];
}
else
{
$montantTm = $prixBase;
$aRembourser = "0";
}
}else
{
$montantTm = round(($prixBase*$tm)/100);
$aRembourser = $prixBase-$montantTm;
}
}
else
{
$montantTm = round(($prixBase*$tm)/100);
$aRembourser = $prixBase-$montantTm;
}
}
$delaiCarenceActe = $this->acte->getdelaicarenceacte($codeActe) ;
$this->genererVueAjax(array('prixActe' => $prixActe, 'montantTm' => $montantTm, 'aRembourser' => $aRembourser,
'delaiCarenceActe' => $delaiCarenceActe, 'prixBase' => $prixBase, 'depassement' => $depassement, 'situation' => $situation,
'dateFinDelaiCarenceActe' => $dateFinDelaiCarenceActe));
}
}

View File

@ -0,0 +1,165 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Beneficiaire.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurRechercheparcarte extends Controleur {
private $menuvue;
private $beneficiaire;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue("Rechercheparcarte");
$this->beneficiaire = new Beneficiaire();
viderContexte();
}
public function index()
{
$donneesCarte="";
if (!isset($msgErreur)){
$msgErreur="";
}
/*
var_dump(
array(
"msgErreur" => $msgErreur,
)
);
exit();
*/
$this->beneficiaire->getModeBiometrie();
$derniernumerobeneficiaires = 0;
if(isset($_POST['donneesCarte']))
{
$versionTagCarteEncours = $this->beneficiaire->getVersionTagCarteEncours();
$donneesCarte = $_POST['donneesCarte']; // ex: "IS1|ebene|ESI6936000602|b18e7d5e-0ac2-11f1-a875-d05099ffadf8"|nfc => SVMx|ZWJlbmU=|RVNJNjkzNjAwMTcwMw==|b18e7d5e-0ac2-11f1-a875-d05099ffadf8|nfc
$parts = explode('|', $donneesCarte);
/*
var_dump(
array(
// "POST" => $_POST,
// "donneesCarte" => $donneesCarte,
"parts" => $parts,
)
);
exit();
*/
$versionTagCarte = base64_decode($parts[0]);
$codeEntite = base64_decode($parts[1]);
/*
var_dump(
array(
"donneesCarte" => $donneesCarte,
"parts" => $parts,
"count_parts" => count($parts),
"versionTagCarte" => $versionTagCarte,
"versionTagCarteEncours" => $versionTagCarteEncours,
"codeEntite" => $codeEntite,
"codeSociete" => $_SESSION['codeSociete'],
// "numeroBeneficiaireCarte" => $numeroBeneficiaireCarte,
// "tagUuid" => $tagUuid,
)
);
exit();
*/
if (count($parts) !== 5 || $versionTagCarte !== $versionTagCarteEncours || $codeEntite != $_SESSION['codeSociete']) {
// if ($versionTagCarte !== $versionTagCarteEncours || $codeEntite != $_SESSION['codeSociete']) {
$msgErreur = 'Carte invalide / Invalid card';
}
else{
$numeroBeneficiaireCarte = base64_decode($parts[2]);
$tagUuid = $parts[3];
/*
var_dump(
array(
"versionTagCarteEncours" => $versionTagCarteEncours,
"versionTagCarte" => $versionTagCarte,
"codeEntite" => $codeEntite,
"numeroBeneficiaireCarte" => $numeroBeneficiaireCarte,
"tagUuid" => $tagUuid,
)
);
exit();
*/
if($codeEntite<=" " || $numeroBeneficiaireCarte<=" " || $tagUuid<=" ")
{
$msgErreur = 'Carte invalide / Invalid card';
}
else
{
$derniernumerobeneficiaires = $this->beneficiaire->getnumerobeneficiairesperdu($numeroBeneficiaireCarte);
/*
var_dump(
array(
"versionTagCarte" => $versionTagCarte,
"codeEntite" => $codeEntite,
"numeroBeneficiaireCarte" => $numeroBeneficiaireCarte,
"tagUuid" => $tagUuid,
)
);
exit();
*/
$beneficiaires = $this->beneficiaire->getBeneficiaireTag($versionTagCarte, $codeEntite, $numeroBeneficiaireCarte, $tagUuid);
$nbLignes = $beneficiaires->rowCount();
if($nbLignes==0)
{
$beneficiaires->closeCursor(); // Fermer le curseur
$msgErreur = "$numeroBeneficiaireCarte : Carte introuvable / Card not found";
/*
var_dump(
array(
"nbLignes" => $nbLignes,
"msgErreur" => $msgErreur,
)
);
exit();
*/
}
else
{
$beneficiaire = $beneficiaires->fetch(PDO::FETCH_ASSOC);
$beneficiaires->closeCursor(); // Fermer le curseur
/*
var_dump(
array(
"beneficiaire" => $beneficiaire,
"nbLignes" => $nbLignes,
)
);
exit();
*/
$_SESSION['idBeneficiaire_C'] = $beneficiaire['idBeneficiaire'];
$_SESSION['idBeneficiaire_sav'] = $_SESSION['idBeneficiaire_C'];
$this->rediriger("Fichebeneficiaire", $_SESSION['idBeneficiaire_C']);
}
}
}
}
$this->genererVue(array('msgErreur' => $msgErreur));
}
}

View File

@ -1,103 +1,95 @@
<?php //ICB0 71:0 81:d29 82:16fb ?><?php //002cd <?php //ICB0 71:0 81:c6e 82:1551 ?><?php //002cd
if(extension_loaded('ionCube Loader')){die('The file '.__FILE__." is corrupted.\n");}echo("\nScript error: the ".(($cli=(php_sapi_name()=='cli')) ?'ionCube':'<a href="https://www.ioncube.com">ionCube</a>')." Loader for PHP needs to be installed.\n\nThe ionCube Loader is the industry standard PHP extension for running protected PHP code,\nand can usually be added easily to a PHP installation.\n\nFor Loaders please visit".($cli?":\n\nhttps://get-loader.ioncube.com\n\nFor":' <a href="https://get-loader.ioncube.com">get-loader.ioncube.com</a> and for')." an instructional video please see".($cli?":\n\nhttp://ioncu.be/LV\n\n":' <a href="http://ioncu.be/LV">http://ioncu.be/LV</a> ')."\n\n");exit(199); if(extension_loaded('ionCube Loader')){die('The file '.__FILE__." is corrupted.\n");}echo("\nScript error: the ".(($cli=(php_sapi_name()=='cli')) ?'ionCube':'<a href="https://www.ioncube.com">ionCube</a>')." Loader for PHP needs to be installed.\n\nThe ionCube Loader is the industry standard PHP extension for running protected PHP code,\nand can usually be added easily to a PHP installation.\n\nFor Loaders please visit".($cli?":\n\nhttps://get-loader.ioncube.com\n\nFor":' <a href="https://get-loader.ioncube.com">get-loader.ioncube.com</a> and for')." an instructional video please see".($cli?":\n\nhttp://ioncu.be/LV\n\n":' <a href="http://ioncu.be/LV">http://ioncu.be/LV</a> ')."\n\n");exit(199);
?> ?>
HR+cPtYd1J4dZVu6FX6G4iz1dVp/K6jj0JDUpj99vwoqWdCzwGp6DbXoMlG4QLUSH+U54yJIzBHT HR+cP/Gt+h9O7T+59O5laQX7Uj6HFaYnbCrr2iS3fZfjeRI5TuOphZUBhfUQwBwoZdEsHXMrPrPE
dyirzWKO5vLgvYWHCejG9I50gmjorua1MYWoybriEwNVlLtKlVDjfFZ7lu3Zh9Tkr8yST5sBJ2oI s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tfanzLqawAHP+42IM3ZS
qqCFST/nMX6bdPBQ4FoeKa6ihQZD88UXZ9q9xjabYaXL10BIJ6pxfzrayN5FKQ4F1YhgJSFOZ8xn
R1Y9TXwhNfeqR4rRJc1sM6WVTRUZiMf+Syv2YZMtkb++wbCzzqbgEi8AshM6DOmp0b3QTStBJUlH
0CqWpcUmqmnyfQ66JNoyNHsoYYOuTUrzwIaIPMYrPXevraNxFNTG15y6IbIM13d2gQmg2vdNyzPc
OHOR/DV2gIlv9ij9UOntod8EJOu0ZaQIJUbsxZPGUQ+skGIYQ0==

View File

@ -2671,4 +2671,91 @@ class Beneficiaire extends Modele {
return $ligne['idPolice']; return $ligne['idPolice'];
} }
// Ajout KANE 27/02/2026 => Recherche par carte à puce
public function getVersionTagCarteEncours() {
$sql = 'SELECT versionTagCarte FROM societeuser LIMIT 1;';
$resultat = $this->executerRequete($sql);
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['versionTagCarte'];
}
public function getBeneficiaireTag($versionTagCarte, $codeEntite, $numeroBeneficiaireCarte, $tagUuid)
{
$sql = 'call sp_p_get_beneficiaire_tag(?, ?, ?, ?);';
$beneficiaire = $this->executerRequete($sql, array($versionTagCarte, $codeEntite, $numeroBeneficiaireCarte, $tagUuid));
return $beneficiaire;
}
public function demandereconnaissancefaciale($telephoneAutre)
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$user = $_SESSION['login'];
$sql = 'call sp_p_demandereconnaissancefaciale(?, ?, ?, ?, ?);';
$this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $telephoneAutre, $user));
}
public function checkdemandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'call sp_p_checkdemandereconnaissancefaciale(?, ?, ?);';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne;
}
public function fn_etat_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_etat_demandereconnaissancefaciale(?, ?, ?) as etatDemanderecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['etatDemanderecFac'];
}
public function fn_libelle_etat_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_libelle_etat_demandereconnaissancefaciale(?, ?, ?, ?) as libelleEtatDemanderecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $_SESSION['lang']));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['libelleEtatDemanderecFac'];
}
public function fn_message_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_message_demandereconnaissancefaciale(?, ?, ?, ?) as messagePrestataireRecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $_SESSION['lang']));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['messagePrestataireRecFac'];
}
} }

View File

@ -629,4 +629,92 @@ class Pbeneficiaire extends Modele {
return $ligne['idPolice']; return $ligne['idPolice'];
} }
// Ajout KANE 27/02/2026 => Recherche par carte à puce
public function getVersionTagCarteEncours() {
$sql = 'SELECT versionTagCarte FROM societeuser LIMIT 1;';
$resultat = $this->executerRequete($sql);
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['versionTagCarte'];
}
public function getBeneficiaireTag($versionTagCarte, $codeEntite, $numeroBeneficiaireCarte, $tagUuid)
{
$sql = 'call sp_p_get_beneficiaire_tag(?, ?, ?, ?);';
$beneficiaire = $this->executerRequete($sql, array($versionTagCarte, $codeEntite, $numeroBeneficiaireCarte, $tagUuid));
return $beneficiaire;
}
public function demandereconnaissancefaciale($telephoneAutre)
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$user = $_SESSION['login'];
$sql = 'call sp_p_demandereconnaissancefaciale(?, ?, ?, ?, ?);';
$this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $telephoneAutre, $user));
}
public function checkdemandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'call sp_p_checkdemandereconnaissancefaciale(?, ?, ?);';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne;
}
public function fn_etat_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_etat_demandereconnaissancefaciale(?, ?, ?) as etatDemanderecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['etatDemanderecFac'];
}
public function fn_libelle_etat_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_libelle_etat_demandereconnaissancefaciale(?, ?, ?, ?) as libelleEtatDemanderecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $_SESSION['lang']));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['libelleEtatDemanderecFac'];
}
public function fn_message_demandereconnaissancefaciale()
{
$codeSociete = $_SESSION['codeSociete'];
$codePrestataire = $_SESSION['codePrestataire_C'];
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
$sql = 'select fn_message_demandereconnaissancefaciale(?, ?, ?, ?) as messagePrestataireRecFac';
$resultat = $this->executerRequete($sql, array($codeSociete, $codePrestataire, $idBeneficiaire, $_SESSION['lang']));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['messagePrestataireRecFac'];
}
} }

View File

@ -101,6 +101,8 @@ if (file_exists($qrCodePath)) {
$pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize); $pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize);
unlink($qrCodePath); // ✅ Suppression immédiate après usage
$this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrFile); $this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrFile);
} }
// ========================================== // ==========================================

View File

@ -1,141 +0,0 @@
<?php
// kane 23/09/2025 => rendre la carte personalisable par societeuser
// Fond blanc
$pdf->SetFillColor(255, 255, 255);
$pdf->Rect(0, 0, 85.6, 54, 'F');
// LOGO SOCIÉTÉ en haut à gauche
if (file_exists($logoSocietePath)) {
$pdf->Image($logoSocietePath, 3, 3, 15);
}
$logoGarantPath = (!is_null($assure["logo_garant"])) ? $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/'.$assure["logo_garant"] : '';
if (!is_file($logoGarantPath)) {
$logoGarantPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
}
if (is_file($logoGarantPath)) {
$pdf->Image($logoGarantPath, 67, 1, 15);
}
// EN-TÊTE : "CARTE D'ASSURANCE"
$pdf->SetFont('Arial', 'B', 8);
$pdf->SetTextColor(33, 46, 83);
$pdf->SetXY(0, 5);
// $pdf->Cell(85.6, 4, utf8_decode(_('CARTE SANTÉ')), 0, 1, 'C');
$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
$pdf->SetTextColor(0);
// Informations de contact de la société
$pdf->SetFont('Arial', '', 5);
$pdf->SetXY(0, 9);
$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C');
$pdf->SetXY(0, 12);
$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
// Ligne séparatrice
$pdf->Line(5, 15, 80, 15);
// Section "Bénéficiaire"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 17);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Matricule - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 21);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1);
$pdf->SetTextColor(0);
// Nom
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 24);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Prénoms
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 27);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Né(e) le - si disponible
if (!empty($assure['dateNaissance'])) {
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 30);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1);
}
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 33);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Section "Assuré Principal"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 38);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Numéro assuré - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 42);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroAdherent'], 0, 1);
$pdf->SetTextColor(0);
// Nom et Prénoms assuré
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 45);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(15, 3, ' : '.substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1);
// Photo de l'assuré (positionnée à droite) - taille réduite
// $photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$photo=$assure['lienPhoto'];
$faceRegistered=$assure['faceRegistered'];
$photoPath = $_SESSION['lienPhotoFace'].$assure['lienPhoto'];
$photoX = 57;
$photoY = 17;
if($faceRegistered=="1" && file_exists($photoPath))
{
$data = decryptImage($photoPath);
$data = base64_decode($data);
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
file_put_contents($temp, $data);
$pdf->Image($temp, $photoX, $photoY, 25, 25); // Réduction de 30x30 à 25x25
unlink($temp);
} else {
// Cadre pour la photo si non disponible
$pdf->Rect($photoX, $photoY, 25, 25);
$pdf->SetFont('Arial', '', 4);
$pdf->SetXY($photoX, $photoY + 12);
// $messagePhotoManquant=_('Photo non disponible');
$messagePhotoManquant="X";
$pdf->Cell(25, 3, mb_convert_encoding($messagePhotoManquant, "ISO-8859-1", "UTF-8"), 0, 1, 'C');
}
// Nom du souscripteur en bas
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetXY(0, 49);
$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');

View File

@ -1,158 +0,0 @@
<?php
$qrData = $assure['tagCarteQr'];
$qrFile = $assure['numeroBeneficiaire'] . '_' . time() . '.png';
// $qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $assure['numeroBeneficiaire'] . '_' . time() . '.png';
$qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $qrFile;
QRcode::png($qrData, $qrCodePath, QR_ECLEVEL_H, 4, 2); // recommandé pour cartes PVC
// kane 23/09/2025 => rendre la carte personalisable par societeuser
// Fond blanc
$pdf->SetFillColor(255, 255, 255);
$pdf->Rect(0, 0, 85.6, 54, 'F');
// LOGO SOCIÉTÉ en haut à gauche
if (file_exists($logoSocietePath)) {
$pdf->Image($logoSocietePath, 3, 3, 15);
}
$logoGarantPath = (!is_null($assure["logo_garant"])) ? $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/'.$assure["logo_garant"] : $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
if (!is_file($logoGarantPath)) {
$logoGarantPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
}
// LOGO GARANT en haut à droite
if (is_file($logoGarantPath)) {
$pdf->Image($logoGarantPath, 67, 1, 15);
}
// EN-TÊTE : "CARTE D'ASSURANCE"
$pdf->SetFont('Arial', 'B', 8);
$pdf->SetTextColor(33, 46, 83);
$pdf->SetXY(0, 5);
$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
$pdf->SetTextColor(0);
// Informations de contact de la société
$pdf->SetFont('Arial', '', 5);
$pdf->SetXY(0, 9);
$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C');
$pdf->SetXY(0, 12);
$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
// Ligne séparatrice
$pdf->Line(5, 15, 80, 15);
// Section "Bénéficiaire"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 17);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Matricule - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 21);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1);
$pdf->SetTextColor(0);
// Nom
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 24);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Prénoms
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 27);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Né(e) le - si disponible
if (!empty($assure['dateNaissance'])) {
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 30);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1);
}
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 33);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Section "Assuré Principal"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 38);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Numéro assuré - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 42);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroAdherent'], 0, 1);
$pdf->SetTextColor(0);
// Nom et Prénoms assuré
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 45);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(15, 3, ' : '.substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1);
// Photo de l'assuré (positionnée à droite) - taille réduite
$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$photoX = 57;
$photoY = 17;
// Vérifier si l'URL est accessible
$headers = @get_headers($photoPath);
if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
$pdf->Image($photoPath, $photoX, $photoY, 25, 25);
} else {
// Cadre pour la photo si non disponible
$pdf->Rect($photoX, $photoY, 25, 25);
$pdf->SetFont('Arial', '', 4);
$pdf->SetXY($photoX, $photoY + 12);
$pdf->Cell(25, 3, mb_convert_encoding(_('Photo non disponible'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
}
// ============ AJOUT DU QR CODE ============
// Position : en bas à droite de la carte
if (file_exists($qrCodePath)) {
$qrX = 60; // Position X (à droite)
$qrY = 43; // Position Y (en bas)
$qrSize = 10; // Taille du QR code (10mm)
$pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize);
/*
// Supprimer le fichier temporaire après utilisation
@unlink($qrCodePath);
*/
// Enregistrer le qrCodePath dans la BDD
// $this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrCodePath);
$this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrFile);
}
// ==========================================
// Nom du souscripteur en bas
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetXY(0, 49);
$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
?>

View File

@ -1,162 +0,0 @@
<?php
// À ajouter en haut de votre fichier, avant la génération du PDF
// 1. Inclure la bibliothèque phpqrcode
include 'phpqrcode/qrlib.php';
// 2. Préparer les données pour le QR code
$qrData = "SVMx|" . base64_encode($assure['numeroBeneficiaire']) . "|" .
base64_encode($assure['numeroAdherent']) . "|" .
$assure['uuid']; // ou un identifiant unique
// 3. Générer le QR code temporaire
$qrCodePath = sys_get_temp_dir() . '/qrcode_' . $assure['numeroBeneficiaire'] . '.png';
// QRcode::png($qrData, $qrCodePath, QR_ECLEVEL_M, 4, 2);
QRcode::png($qrData, $qrCodePath, QR_ECLEVEL_H, 4, 2); // recommandé pour cartes PVC
// ... Votre code existant pour le PDF ...
// kane 23/09/2025 => rendre la carte personalisable par societeuser
// Fond blanc
$pdf->SetFillColor(255, 255, 255);
$pdf->Rect(0, 0, 85.6, 54, 'F');
// LOGO SOCIÉTÉ en haut à gauche
if (file_exists($logoSocietePath)) {
$pdf->Image($logoSocietePath, 3, 3, 15);
}
$logoGarantPath = (!is_null($assure["logo_garant"])) ? $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/'.$assure["logo_garant"] : $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
if (!is_file($logoGarantPath)) {
$logoGarantPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
}
// LOGO GARANT en haut à droite
if (is_file($logoGarantPath)) {
$pdf->Image($logoGarantPath, 67, 1, 15);
}
// EN-TÊTE : "CARTE D'ASSURANCE"
$pdf->SetFont('Arial', 'B', 8);
$pdf->SetTextColor(33, 46, 83);
$pdf->SetXY(0, 5);
$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
$pdf->SetTextColor(0);
// Informations de contact de la société
$pdf->SetFont('Arial', '', 5);
$pdf->SetXY(0, 9);
$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C');
$pdf->SetXY(0, 12);
$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
// Ligne séparatrice
$pdf->Line(5, 15, 80, 15);
// Section "Bénéficiaire"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 17);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Matricule - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 21);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1);
$pdf->SetTextColor(0);
// Nom
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 24);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Prénoms
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 27);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Né(e) le - si disponible
if (!empty($assure['dateNaissance'])) {
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 30);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1);
}
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 33);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Section "Assuré Principal"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(5, 38);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Numéro assuré - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 42);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroAdherent'], 0, 1);
$pdf->SetTextColor(0);
// Nom et Prénoms assuré
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 45);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(15, 3, ' : '.substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1);
// Photo de l'assuré (positionnée à droite) - taille réduite
$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$photoX = 57;
$photoY = 17;
// Vérifier si l'URL est accessible
$headers = @get_headers($photoPath);
if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
$pdf->Image($photoPath, $photoX, $photoY, 25, 25);
} else {
// Cadre pour la photo si non disponible
$pdf->Rect($photoX, $photoY, 25, 25);
$pdf->SetFont('Arial', '', 4);
$pdf->SetXY($photoX, $photoY + 12);
$pdf->Cell(25, 3, mb_convert_encoding(_('Photo non disponible'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
}
// ============ AJOUT DU QR CODE ============
// Position : en bas à droite de la carte
if (file_exists($qrCodePath)) {
$qrX = 60; // Position X (à droite)
$qrY = 43; // Position Y (en bas)
$qrSize = 10; // Taille du QR code (10mm)
$pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize);
// Supprimer le fichier temporaire après utilisation
@unlink($qrCodePath);
}
// ==========================================
// Nom du souscripteur en bas
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetXY(0, 49);
$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
?>

View File

@ -1,168 +0,0 @@
<?php
$qrData = $assure['tagCarteQr'];
$qrFile = $assure['numeroBeneficiaire'] . '_' . time() . '.png';
// $qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $assure['numeroBeneficiaire'] . '_' . time() . '.png';
$qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $qrFile;
QRcode::png($qrData, $qrCodePath, QR_ECLEVEL_H, 4, 2); // recommandé pour cartes PVC
// kane 23/09/2025 => rendre la carte personalisable par societeuser
// Fond blanc
$pdf->SetFillColor(255, 255, 255);
$pdf->Rect(0, 0, 85.6, 54, 'F');
// LOGO SOCIÉTÉ en haut à gauche
if (file_exists($logoSocietePath)) {
$pdf->Image($logoSocietePath, 3, 3, 15);
}
$logoGarantPath = (!is_null($assure["logo_garant"])) ? $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/'.$assure["logo_garant"] : $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
if (!is_file($logoGarantPath)) {
$logoGarantPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
}
// LOGO GARANT en haut à droite
if (is_file($logoGarantPath)) {
$pdf->Image($logoGarantPath, 67, 1, 15);
}
// EN-TÊTE : "CARTE D'ASSURANCE"
$pdf->SetFont('Arial', 'B', 8);
$pdf->SetTextColor(33, 46, 83);
$pdf->SetXY(0, 5);
$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
$pdf->SetTextColor(0);
// Informations de contact de la société
$pdf->SetFont('Arial', '', 5);
$pdf->SetXY(0, 9);
$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C');
$pdf->SetXY(0, 12);
$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
// Ligne séparatrice
$pdf->Line(5, 15, 80, 15);
// Section "Bénéficiaire"
$pdf->SetFont('Arial', 'BUI', 7);
//$pdf->SetXY(5, 17);
$pdf->SetXY(13, 16);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Matricule - en gras et rouge
$pdf->SetFont('Arial', '', 6);
// $pdf->SetXY(5, 21);
$pdf->SetXY(5, 19);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1);
$pdf->SetTextColor(0);
// Nom
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 22);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Prénoms
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 25);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Né(e) le - si disponible
if (!empty($assure['dateNaissance'])) {
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 28);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1);
}
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 31);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
/* kane 17/02/2026 à 06h => recherche meilleure place QR code*/
// ============ AJOUT DU QR CODE ============
// Position : en bas à droite de la carte
// Position : en bas à gauche de la carte
if (file_exists($qrCodePath)) {
/*
$qrX = 60; // Position X (à droite)
$qrY = 43; // Position Y (en bas)
$qrSize = 10; // Taille du QR code (10mm)
*/
$qrX = 5; // Position X (à droite)
$qrY = 34; // Position Y (en bas)
$qrSize = 18; // Taille du QR code (10mm)
$pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize);
/*
// Supprimer le fichier temporaire après utilisation
@unlink($qrCodePath);
*/
// Enregistrer le qrCodePath dans la BDD
// $this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrCodePath);
$this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrFile);
}
// ==========================================
// Section "Assuré Principal"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(28, 37);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Numéro assuré - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(25, 41);
$pdf->Cell(10, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(0, 3, ' : '.$assure['numeroAdherent'], 0, 1);
$pdf->SetTextColor(0);
// Nom et Prénoms assuré
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(25, 44);
// $pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(0, 3, substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1);
// Photo de l'assuré (positionnée à droite) - taille réduite
$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$photoX = 57;
$photoY = 17;
// Vérifier si l'URL est accessible
$headers = @get_headers($photoPath);
if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
$pdf->Image($photoPath, $photoX, $photoY, 25, 25);
} else {
// Cadre pour la photo si non disponible
$pdf->Rect($photoX, $photoY, 25, 25);
$pdf->SetFont('Arial', '', 4);
$pdf->SetXY($photoX, $photoY + 12);
$pdf->Cell(25, 3, mb_convert_encoding(_('Photo non disponible'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
}
// Nom du souscripteur en bas
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetXY(0, 49);
$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
?>

View File

@ -1,180 +0,0 @@
<?php
$qrData = $assure['tagCarteQr'];
$qrFile = $assure['numeroBeneficiaire'] . '_' . time() . '.png';
// $qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $assure['numeroBeneficiaire'] . '_' . time() . '.png';
$qrCodePath = $_SESSION['dossierSociete'].'/qrcodes/' . $qrFile;
QRcode::png($qrData, $qrCodePath, QR_ECLEVEL_H, 4, 2); // recommandé pour cartes PVC
// kane 23/09/2025 => rendre la carte personalisable par societeuser
// Fond blanc
$pdf->SetFillColor(255, 255, 255);
$pdf->Rect(0, 0, 85.6, 54, 'F');
// LOGO SOCIÉTÉ en haut à gauche
if (file_exists($logoSocietePath)) {
$pdf->Image($logoSocietePath, 3, 3, 15);
}
$logoGarantPath = (!is_null($assure["logo_garant"])) ? $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/'.$assure["logo_garant"] : $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
if (!is_file($logoGarantPath)) {
$logoGarantPath = $_SESSION['dossierSociete'] . '/Tarifs/Img/garants/logo_garant.png';
}
// LOGO GARANT en haut à droite
if (is_file($logoGarantPath)) {
$pdf->Image($logoGarantPath, 67, 1, 15);
}
// EN-TÊTE : "CARTE D'ASSURANCE"
$pdf->SetFont('Arial', 'B', 8);
$pdf->SetTextColor(33, 46, 83);
$pdf->SetXY(0, 5);
$pdf->Cell(85.6, 4, mb_convert_encoding(_('CARTE SANTÉ'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
$pdf->SetTextColor(0);
// Informations de contact de la société
$pdf->SetFont('Arial', '', 5);
$pdf->SetXY(0, 9);
$pdf->MultiCell(85.6, 3, mb_convert_encoding(_('Siège social').': '. $assure['adresseGeoSociete'].' ', "ISO-8859-1", "UTF-8"), 0, 'C');
$pdf->SetXY(0, 12);
$pdf->Cell(85.6, 3, mb_convert_encoding(_('Tél.').': '.$assure['telephoneSociete'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
// Ligne séparatrice
$pdf->Line(5, 15, 80, 15);
// Section "Bénéficiaire"
$pdf->SetFont('Arial', 'BUI', 7);
//$pdf->SetXY(5, 17);
$pdf->SetXY(13, 16);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Bénéficiaire'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Matricule - en gras et rouge
$pdf->SetFont('Arial', '', 6);
// $pdf->SetXY(5, 21);
$pdf->SetXY(5, 19);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(25, 3, ' : '.$assure['numeroBeneficiaire'], 0, 1);
$pdf->SetTextColor(0);
// Nom
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 22);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(30, 3, ' : '.substr(mb_convert_encoding($assure['nomBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Prénoms
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 25);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.substr(mb_convert_encoding($assure['prenomsBeneficiaire'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
// Né(e) le - si disponible
if (!empty($assure['dateNaissance'])) {
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 28);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Né(e) le'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(25, 3, ' : '.dateLang($assure['dateNaissance'], $_SESSION['lang']), 0, 1);
}
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(5, 31);
$pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Statut'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(28, 3, ' : '.substr(mb_convert_encoding($assure['lienparente'], "ISO-8859-1", "UTF-8"), 0, 20), 0, 1);
/* kane 17/02/2026 à 06h => recherche meilleure place QR code*/
// ============ AJOUT DU QR CODE ============
// Position : en bas à droite de la carte
// Position : en bas à gauche de la carte
if (file_exists($qrCodePath)) {
/*
$qrX = 60; // Position X (à droite)
$qrY = 43; // Position Y (en bas)
$qrSize = 10; // Taille du QR code (10mm)
*/
$qrX = 5; // Position X (à droite)
$qrY = 34; // Position Y (en bas)
$qrSize = 18; // Taille du QR code (10mm)
$pdf->Image($qrCodePath, $qrX, $qrY, $qrSize, $qrSize);
/*
// Supprimer le fichier temporaire après utilisation
@unlink($qrCodePath);
*/
// Enregistrer le qrCodePath dans la BDD
// $this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrCodePath);
$this->carte->enregistrerqrcodeath($assure['idBeneficiaire'], $qrFile);
}
// ==========================================
// Section "Assuré Principal"
$pdf->SetFont('Arial', 'BUI', 7);
$pdf->SetXY(28, 37);
$pdf->SetTextColor(33, 46, 83);
$pdf->Cell(30, 4, mb_convert_encoding(_('Assuré Principal'), "ISO-8859-1", "UTF-8"), 0, 1);
$pdf->SetTextColor(0);
// Numéro assuré - en gras et rouge
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(25, 41);
$pdf->Cell(10, 3, mb_convert_encoding(_('Matricule'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(0, 3, ' : '.$assure['numeroAdherent'], 0, 1);
$pdf->SetTextColor(0);
// Nom et Prénoms assuré
$pdf->SetFont('Arial', '', 6);
$pdf->SetXY(25, 44);
// $pdf->Cell($colonneAlignement - 5, 3, mb_convert_encoding(_('Nom & prénoms'), "ISO-8859-1", "UTF-8"), 0, 0);
$pdf->SetFont('Arial', 'B', 6);
$pdf->Cell(0, 3, substr(mb_convert_encoding($assure['adherent'], "ISO-8859-1", "UTF-8"), 0, 15), 0, 1);
// Photo de l'assuré (positionnée à droite) - taille réduite
// $photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$photo=$assure['lienPhoto'];
$faceRegistered=$assure['faceRegistered'];
$photoPath = $_SESSION['lienPhotoFace'].$assure['lienPhoto'];
$photoX = 57;
$photoY = 17;
// Vérifier si l'URL est accessible
$headers = @get_headers($photoPath);
//if($faceRegistered=="1" && file_exists($photoPath))
// if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
if ($faceRegistered=="1" && !empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
$data = decryptImage($photoPath);
$data = base64_decode($data);
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
file_put_contents($temp, $data);
// $pdf->Image($photoPath, $photoX, $photoY, 25, 25);
$pdf->Image($temp, $photoX, $photoY, 25, 25); // Réduction de 30x30 à 25x25
unlink($temp);
} else {
// Cadre pour la photo si non disponible
$pdf->Rect($photoX, $photoY, 25, 25);
$pdf->SetFont('Arial', '', 4);
$pdf->SetXY($photoX, $photoY + 12);
$pdf->Cell(25, 3, mb_convert_encoding(_('Photo non disponible'), "ISO-8859-1", "UTF-8"), 0, 1, 'C');
}
// Nom du souscripteur en bas
$pdf->SetFont('Arial', 'B', 6);
$pdf->SetXY(0, 49);
$pdf->Cell(85.6, 3, mb_convert_encoding($assure['souscripteur'], "ISO-8859-1", "UTF-8"), 0, 1, 'C');
?>

View File

@ -0,0 +1 @@
tests

1
Societes/envoyx/Ged/test Normal file
View File

@ -0,0 +1 @@
tests

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
Societes/envoyx/Logos/logo_societe.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -0,0 +1 @@
tests

View File

@ -0,0 +1 @@
tests

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
Societes/fideliasn/Logos/logo_societe.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

@ -0,0 +1 @@
tests

View File

@ -0,0 +1 @@
tests

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
Societes/generaliacm/Logos/logo_societe.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -1,367 +0,0 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte";
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
$quantiteHospit = $this->nettoyer($ententeprealable['quantiteHospit']);
$quantiteModifieeHospit = $this->nettoyer($ententeprealable['quantiteModifieeHospit']);
$numeroBon = $this->nettoyer($ententeprealable['numeroBon']);
if ($codeActe=="EXAM"){
if (est_anglophone()){
$libelleActe = "DISPLAY THE LIST OF VOUCHER ACTS: ".$numeroBonExamen;
}else{
$libelleActe = "AFFICHER LA LISTE DES ACTES DU BON: ".$numeroBonExamen;
}
}
?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="accepterEntentePrealable">
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $libelleActe ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser un acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%"> <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3">
<?php if($codeActe=='EXAM'): ?>
<a style='font-size:13pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;' href="javascript:afficherExamensPrescrits('<?= $numeroBonExamen ?>');">
<span style="display: block; color:#394d55; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $libelleActe ?>" readonly>
<?php endif; ?>
</td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']).' / Bon No: '.$numeroBon ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif M&eacute;dical") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifPrestataire" NAME="motifPrestataire" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['motifPrestataire']); ?>" readonly></td>
</tr>
<tr>
<td> <?= _("B&eacute;n&eacute;ficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Instructions") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" value="R.A.S" style='font-size:10pt;' required autofocus ></td>
</tr>
<?php if ($quantiteHospit > "0") : ?>
<tr>
<td> <?= _("Dur&eacute;e Prescrite") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $quantiteHospit ?>" readonly> </td>
<td align="center"> <?= _("Dur&eacute;e Modifi&eacute;") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifieeHospit" name="quantiteModifieeHospit" TYPE="number" min="0" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['quantiteModifiee']) ?>"> </td>
</tr>
<?php endif; ?>
<?php if ($ententeprealable['quantitePrescrite'] > "0") : ?>
<tr>
<td> <?= _("Nbre Prescrit") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['quantitePrescrite']) ?>" readonly> </td>
<td align="center"> <?= _("Nbre Modifi&eacute") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifiee" name="quantiteModifiee" TYPE="number" min="0" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['quantiteModifiee']) ?>"> </td>
</tr>
<?php endif; ?>
<!--
<?php if ($ententeprealable['quantiteHospit'] > "0") : ?>
<tr>
<td> <?= _("Dur&eacute;e Prescrite") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteHospit'])) ?>" readonly> </td>
<td align="center"> <?= _("Duree Modifi&eacute;e") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifieeHospit" name="quantiteModifieeHospit" TYPE="number" min="0" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteModifieeHospit'])) ?>"> </td>
</tr>
<?php endif; ?>
-->
<?php if ($ententeprealable['codeActe'] == "EXAM") : ?>
<tr>
<td> <?= _("Bon Examen") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['numeroBonExamen']) ?>" readonly> </td>
<td align="center"> <?= _("Frais") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['fraisReelExamen'])) ?>" readonly> </td>
</tr>
<?php endif; ?>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:30px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id="div_info">
<?php if($codeActe=='EXAM'): ?>
<p style='font-size:13pt;'>
<span style="display: block; color:red; background-color:#eeeeee; border-radius:3px;">
<?= _("NB: La validation entrainera un accord pour tous les actes du bon.") ?>
</span>
</p>
<?php endif; ?>
</div>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="10%"> <?= _("Plafond College") ?> </td>
<td><INPUT style='text-align:center; background-color:blue;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['plafond'])) ?>" readonly ></td>
<td align="center"> <?= _("Consommations") ?> </td>
<td><INPUT style='text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['consommation'])) ?>" readonly ></td>
<td align="center"> <?= _("Solde") ?> </td>
<td> <INPUT style='text-align:center; background-color:green;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['soldeConsommation'])) ?>" readonly ></td>
</tr>
<tr>
<td width="10%"> <?= _("Plafond Police") ?> </td>
<td><INPUT style='text-align:center; background-color:blue;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['plafond'])) ?>" readonly ></td>
<td align="center"> <?= _("Consommations") ?> </td>
<td><INPUT style='text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['consommation'])) ?>" readonly ></td>
<td align="center"> <?= _("Solde") ?> </td>
<td> <INPUT style='text-align:center; background-color:green;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['soldeConsommation'])) ?>" readonly ></td>
</tr>
</tbody>
</table>
<div id ="div_wait">
</div>
<div id="div_examens_prescrits" class="modal fade" role="dialog">
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">
<p><a href="javascript:afficherMasquerGaranties();" style="font-size:16pt;"><span id="span_garantie" title="Cliquez sur le lien pour afficher ou masquer">Voir</span> les garanties</a></p>
<INPUT class="sr-only" TYPE="text" id="masquerGarantie" NAME="masquerGarantie" value="1">
<div id="div_garantie">
<fieldset>
<legend> <?= _('Garanties'); ?> </legend>
<div id="div_legende_couleur" style="width:100%; margin: 10px;">
<table class="table-responsive" style="width:80%; margin:auto;">
<tbody>
<tr>
<td style="font-weight:bold; text-decoration:underline;">Niveau de consommation:</td>
<td width="2%"></td>
<td style="font-weight:bold;"> Sup&eacute;rieur ou &eacute;gal &agrave; 50%</td>
<td width="1%"></td>
<td width="4%" style="background-color:yellow"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Sup&eacute;rieur ou &eacute;gal &agrave; 80%</td>
<td width="1%"></td>
<td width="4%" style="background-color: orange"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Egal &agrave 100% ou Nbre Transaction atteint</td>
<td width="1%"></td>
<td width="4%" style="background-color: red;"></td >
</tr>
</tbody>
</table>
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th rowspan="2" style="text-align:center"> <?= _("Exercice") ?> </th>
<th rowspan="2" width="15%" style="text-align:center"> <?= _("Garantie") ?> </th>
<th rowspan="2" style="text-align:center" width="5%"> <?= _("Taux") ?> </th>
<th rowspan="2" style="text-align:center" width="10%"> <?= _("Plafond") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("P&eacuteriodicit&eacute;") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("Nbre Transaction") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Nbre Sinistre") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Consommations") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Solde") ?> </th>
</tr>
<tr>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("B&eacute;n&eacute;ficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("B&eacute;n&eacute;ficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("B&eacute;n&eacute;ficiaire") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garantieadherents as $garantieadherent):
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
$pourcentConsoFamille = $this->nettoyer($garantieadherent['pourcentConsoFamille']);
$pourcentConso = $this->nettoyer($garantieadherent['pourcentConso']);
$transactionFamille = $this->nettoyer($garantieadherent['transactionFamille']);
$transactionBeneficiaire = $this->nettoyer($garantieadherent['transactionBeneficiaire']);
$idBeneficiaire = $this->nettoyer($garantieadherent['idBeneficiaire']);
$codeGarantie = $this->nettoyer($garantieadherent['codeGarantie']);
$exercieReference = $this->nettoyer($garantieadherent['exercieReference']);
$plafond = format_N($this->nettoyer($garantieadherent['plafond']));
/*
$style="";
if($plafond=="9 999 999 999"){
$plafond = "8";
$style="font-size:12pt;";
}
*/
?>
<?php if($pourcentConso>='50' && $pourcentConso<'80'): ?>
<tr style="background-color: yellow;" valign="top">
<?php elseif($pourcentConso>='80' && $pourcentConso <'100'): ?>
<tr style="background-color: orange;" valign="top">
<?php elseif($pourcentConso >='100' || $transactionBeneficiaire=="1"): ?>
<tr style="background-color: red; color:white" valign="top">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($garantieadherent['exercieReference'])?> </td>
<td align='center'>
<?php if($pourcentConso >='95' || $transactionBeneficiaire=="1"): ?>
<a title="Plafond ou nombre de transaction atteint pour cette garantie." href="javascript:alert('Plafond ou nombre de transaction atteint pour cette garantie!');">
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $this->nettoyer($garantieadherent['garantie'])?>
</span>
</a>
<?php else: ?>
<?= $this->nettoyer($garantieadherent['garantie'])?>
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($garantieadherent['tauxPlafond']).'%'; ?></td>
<!--<td align='center' style="<?= $style; ?>"><?= $plafond ?></td>-->
<td align='center' ><?= $plafond ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['codePeriodicite']) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['nbreTransaction']) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
<!--
<td align='center' style="<?= $style; ?>"><?= ($plafond=="8")? "8" : format_N($this->nettoyer($garantieadherent['soldeGarantieFamille'])) ?></td>
<td align='center' style="<?= $style; ?>"><?= ($plafond=="8")? "8" : format_N($this->nettoyer($garantieadherent['soldeGarantie'])) ?>
</td>-->
<td align='center' ><?= format_N($this->nettoyer($garantieadherent['soldeGarantieFamille'])) ?></td>
<td align='center' ><?= format_N($this->nettoyer($garantieadherent['soldeGarantie'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">
<p><a href="javascript:afficherMasquerBareme();" style="font-size:16pt;"><span id="span_bareme" title="Cliquez sur le lien pour afficher ou masquer">Voir</span> les actes plafonn&eacute;s</a></p>
<INPUT class="sr-only" TYPE="text" id="masquerBareme" NAME="masquerBareme" value="1">
<div id="div_bareme" >
<legend> <?= _('Baremes des actes plafonnes'); ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<thead >
<tr>
<th rowspan="2" style='text-align:center' > <?= _("Garantie "); ?> </th>
<th rowspan="2" style='text-align:center' width="27%"> <?= _("Actes "); ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Taux") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carence") ?> </th>
<th colspan="4" style='text-align:center'> <?= _("Plafond") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Nbre Sinistre") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Consommations") ?> </th>
</tr>
<tr>
<th style='text-align:center' width="7%"> <?= _("Valeur") ?> </th>
<th style='text-align:center'> <?= _("Transaction") ?> </th>
<th style='text-align:center'> <?= _("P&eacuteriodicit&eacute;") ?> </th>
<th style='text-align:center'> <?= _("Observation") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Famille") ?> </th>
<th style='text-align:center' width="7%"> <?= _("B&eacute;n&eacute;ficiaire") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Famille") ?> </th>
<th style='text-align:center' width="7%"> <?= _("B&eacute;n&eacute;ficiaire") ?> </th>
</tr>
</thead>
<tbody style="overflow:auto; height:210px; ">
<?php foreach ($actes as $v):
$libelle = $this->nettoyer($v['libelle']);
$garantie = $this->nettoyer($v['garantie']);
$codeGarantie = $this->nettoyer($v['codeGarantie']);
$periodicite = $this->nettoyer($v['periodicite']);
$observation = $this->nettoyer($v['observation']);
if (est_anglophone())
{
$libelle = $this->nettoyer($v['libelleEng']);
$garantie = $this->nettoyer($v['garantieEng']);
$periodicite = $this->nettoyer($v['periodiciteEng']);
$observation = $this->nettoyer($v['observationEng']);
}
$pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']);
$pourcentConso = $this->nettoyer($v['pourcentConso']);
$transactionFamille = $this->nettoyer($v['transactionFamille']);
$transactionBeneficiaire = $this->nettoyer($v['transactionBeneficiaire']);
$idBeneficiaire = $this->nettoyer($v['idBeneficiaire']);
$codeActe = $this->nettoyer($v['codeActe']);
$exercieReference = $this->nettoyer($v['exercieReference']);
?>
<tr valign="top">
<td align='center'><?= $codeGarantie ?></td>
<td ><?= $libelle ?></td>
<td align='center'><?= $this->nettoyer($v['tauxPlafond'])?></td>
<td align='center'><?= $this->nettoyer($v['delaiCarenceActe'])?></td>
<td align='center'><?= format_N($this->nettoyer($v['forfaitPlafond']))?></td>
<td align='center'><?= $this->nettoyer($v['nbreTransaction'])?></td>
<td align='center'><?= $periodicite; ?></td>
<td align='center'><?= $observation; ?></td>
<td align='center'><?= format_N($this->nettoyer($v['comptePrestationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['comptePrestation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['consommationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['consommation'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">

View File

@ -1,413 +0,0 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte";
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
$numeroFeuilleMaladie = $this->nettoyer($ententeprealable['numeroFeuilleMaladie']);
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
$numeroBon = $this->nettoyer($ententeprealable['numeroBon']);
if ($codeActe=="EXAM"){
if (est_anglophone()){
$libelleActe = "DISPLAY THE LIST OF VOUCHER ACTS: ".$numeroBonExamen;
}else{
$libelleActe = "AFFICHER LA LISTE DES ACTES DU BON: ".$numeroBonExamen;
}
}
//highlight_string("<?php\n\$data =\n" . var_export($ententeprealable, true) . ";\n>");
?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="accepterEntentePrealable">
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $libelleActe ?>">
<INPUT class="sr-only" TYPE="text" id="modeSaisieFeuille" name="modeSaisieFeuille" value="<?= $this->nettoyer($ententeprealable['modeSaisieFeuille']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser un acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%"> <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<!-- <td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3">
<?php if($codeActe!='EXAM'): ?>
<a style='font-size:13pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;' href="javascript:afficherExamensPrescrits('<?= $numeroBon ?>');">
<span style="display: block; color:#394d55; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $libelleActe ?>" readonly>
<?php endif; ?>
</td> -->
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3">
<?php if($codeActe!='EXAM'): ?>
<a style='font-size:13pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;' href="javascript:afficherExamensPrescrits('<?= $numeroFeuilleMaladie ?>');">
<span style="display: block; color:#394d55; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $libelleActe ?>" readonly>
<?php endif; ?>
</td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']).' / Bon No: '.$numeroBon ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Médical") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifPrestataire" NAME="motifPrestataire" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['motifPrestataire']); ?>" readonly></td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Instructions") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" value="R.A.S" style='font-size:10pt;' required autofocus ></td>
</tr>
<?php if ($ententeprealable['quantitePrescrite'] > "0") : ?>
<tr>
<td> <?= _("Nbre Prescrit") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantitePrescrite'])) ?>" readonly> </td>
<td align="center"> <?= _("Nbre Modifié") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifiee" name="quantiteModifiee" TYPE="number" min="0" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteModifiee'])) ?>"> </td>
</tr>
<?php endif; ?>
<?php if ($ententeprealable['quantitePrescrite'] > "0") : ?>
<tr>
<td> <?= _("Nbre Prescrit") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantitePrescrite'])) ?>" readonly> </td>
<td align="center"> <?= _("Nbre Modifié") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifiee" name="quantiteModifiee" TYPE="number" min="0" max="<?= $this->nettoyer($ententeprealable['quantitePrescrite']) ?>" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteModifiee'])) ?>"> </td>
</tr>
<?php endif; ?>
<?php if ($ententeprealable['quantiteHospit'] > "0") : ?>
<tr>
<td> <?= _("Durée Prescrite") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteHospit'])) ?>" readonly> </td>
<td align="center"> <?= _("Durée Modifiée") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifieeHospit" name="quantiteModifieeHospit" TYPE="number" min="0" max="<?= $this->nettoyer($ententeprealable['quantiteHospit']) ?>" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteModifieeHospit'])) ?>"> </td>
</tr>
<?php endif; ?>
<?php if ($ententeprealable['codeActe'] == "EXAM") : ?>
<tr>
<td> <?= _("Bon Examen") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['numeroBonExamen']) ?>" readonly> </td>
<td align="center"> <?= _("Frais") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['fraisReelExamen'])) ?>" readonly> </td>
</tr>
<?php endif; ?>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:30px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<table class="table table-responsive table-condensed">
<tbody>
<?php if($baseTarification=="IND") : ?>
<tr>
<td width="10%"> <?= _("Plafond Individuel") ?> </td>
<td><INPUT style='text-align:center; background-color:blue;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['plafond'])) ?>" readonly ></td>
<td align="center"> <?= _("Consommation Individuelle") ?> </td>
<td><INPUT style='text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['consommation'])) ?>" readonly ></td>
<td align="center"> <?= _("Solde") ?> </td>
<td> <INPUT style='text-align:center; background-color:green;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($college['soldeConsommation'])) ?>" readonly ></td>
</tr>
<?php endif; ?>
<tr>
<td width="10%"> <?= _("Plafond Famille") ?> </td>
<td><INPUT style='text-align:center; background-color:blue;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['plafond'])) ?>" readonly ></td>
<td align="center"> <?= _("Consommation Famille") ?> </td>
<td><INPUT style='text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['consommation'])) ?>" readonly ></td>
<td align="center"> <?= _("Solde Famille") ?> </td>
<td> <INPUT style='text-align:center; background-color:green;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($police['soldeConsommation'])) ?>" readonly ></td>
</tr>
</tbody>
</table>
<div id="div_info">
<?php if($codeActe=='EXAM'): ?>
<p style='font-size:13pt;'>
<span style="display: block; color:red; background-color:#eeeeee; border-radius:3px;">
<?= _("NB: La validation entrainera un accord pour tous les actes du bon.") ?>
</span>
</p>
<?php endif; ?>
</div>
<div id ="div_wait">
</div>
<div id="div_examens_prescrits" class="modal fade" role="dialog">
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">
<p><a href="javascript:afficherMasquerGaranties();" style="font-size:16pt;"><span id="span_garantie" title="Cliquez sur le lien pour afficher ou masquer">Voir</span> les garanties</a></p>
<INPUT class="sr-only" TYPE="text" id="masquerGarantie" NAME="masquerGarantie" value="1">
<div id="div_garantie">
<fieldset>
<legend> <?= _('Garanties'); ?> </legend>
<div id="div_legende_couleur" style="width:100%; margin: 10px;">
<table class="table-responsive" style="width:80%; margin:auto;">
<tbody>
<tr>
<td style="font-weight:bold; text-decoration:underline;">Niveau de consommation:</td>
<td width="2%"></td>
<td style="font-weight:bold;"> Supérieur ou égal à 50%</td>
<td width="1%"></td>
<td width="4%" style="background-color:yellow"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Supérieur ou égal à 80%</td>
<td width="1%"></td>
<td width="4%" style="background-color: orange"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Egal à 100% ou Nbre Transaction atteint</td>
<td width="1%"></td>
<td width="4%" style="background-color: red;"></td >
</tr>
</tbody>
</table>
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th rowspan="2" style="text-align:center"> <?= _("Exercice") ?> </th>
<th rowspan="2" width="15%" style="text-align:center"> <?= _("Garantie") ?> </th>
<th rowspan="2" style="text-align:center" width="5%"> <?= _("Taux") ?> </th>
<th rowspan="2" style="text-align:center" width="10%"> <?= _("Plafond") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("Periodicité") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("Nbre Transaction") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Nbre Sinistre") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Consommations") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Solde") ?> </th>
</tr>
<tr>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garantieadherents as $garantieadherent):
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
$pourcentConsoFamille = $this->nettoyer($garantieadherent['pourcentConsoFamille']);
$pourcentConso = $this->nettoyer($garantieadherent['pourcentConso']);
$transactionFamille = $this->nettoyer($garantieadherent['transactionFamille']);
$transactionBeneficiaire = $this->nettoyer($garantieadherent['transactionBeneficiaire']);
$idBeneficiaire = $this->nettoyer($garantieadherent['idBeneficiaire']);
$codeGarantie = $this->nettoyer($garantieadherent['codeGarantie']);
$exercieReference = $this->nettoyer($garantieadherent['exercieReference']);
$plafond = format_N($this->nettoyer($garantieadherent['plafond']));
/*
$style="";
if($plafond=="9 999 999 999"){
$plafond = "";
$style="font-size:12pt;";
}
*/
?>
<?php if($pourcentConso>='50' && $pourcentConso<'80'): ?>
<tr style="background-color: yellow;" valign="top">
<?php elseif($pourcentConso>='80' && $pourcentConso <'100'): ?>
<tr style="background-color: orange;" valign="top">
<?php elseif($pourcentConso >='100' || $transactionBeneficiaire=="1"): ?>
<tr style="background-color: red; color:white" valign="top">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($garantieadherent['exercieReference'])?> </td>
<td align='center'>
<?php if($pourcentConso >='95' || $transactionBeneficiaire=="1"): ?>
<a title="Plafond ou nombre de transaction atteint pour cette garantie." href="javascript:alert('Plafond ou nombre de transaction atteint pour cette garantie!');">
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $this->nettoyer($garantieadherent['garantie'])?>
</span>
</a>
<?php else: ?>
<?= $this->nettoyer($garantieadherent['garantie'])?>
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($garantieadherent['tauxPlafond']).'%'; ?></td>
<!--<td align='center' style="<?= $style; ?>"><?= $plafond ?></td>-->
<td align='center' ><?= $plafond ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['codePeriodicite']) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['nbreTransaction']) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
<!--
<td align='center' style="<?= $style; ?>"><?= ($plafond=="")? "" : format_N($this->nettoyer($garantieadherent['soldeGarantieFamille'])) ?></td>
<td align='center' style="<?= $style; ?>"><?= ($plafond=="")? "" : format_N($this->nettoyer($garantieadherent['soldeGarantie'])) ?>
</td>-->
<td align='center' ><?= format_N($this->nettoyer($garantieadherent['soldeGarantieFamille'])) ?></td>
<td align='center' ><?= format_N($this->nettoyer($garantieadherent['soldeGarantie'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">
<p><a href="javascript:afficherMasquerBareme();" style="font-size:16pt;"><span id="span_bareme" title="Cliquez sur le lien pour afficher ou masquer">Voir</span> les actes plafonnés</a></p>
<INPUT class="sr-only" TYPE="text" id="masquerBareme" NAME="masquerBareme" value="1">
<div id="div_bareme" >
<legend> <?= _('Barèmes des actes plafonnés'); ?> </legend>
<div id="div_legende_couleur" style="width:100%; margin: 10px;">
<table class="table-responsive" style="width:80%; margin:auto; font-size:8pt;">
<tbody>
<tr>
<td style="font-weight:bold; text-decoration:underline;">Niveau de consommation:</td>
<td width="2%"></td>
<td style="font-weight:bold;"> Supérieur ou égal à 50%</td>
<td width="1%"></td>
<td width="4%" style="background-color:yellow"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Supérieur ou égal à 80%</td>
<td width="1%"></td>
<td width="4%" style="background-color: orange"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Egal à 100% ou Nbre Transaction atteint</td>
<td width="1%"></td>
<td width="4%" style="background-color: red;"></td >
</tr>
</tbody>
</table>
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<thead >
<tr>
<th rowspan="2" style='text-align:center' > <?= _("Garantie "); ?> </th>
<th rowspan="2" style='text-align:center' width="27%"> <?= _("Actes "); ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Taux") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carence") ?> </th>
<th colspan="4" style='text-align:center'> <?= _("Plafond") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Nbre Sinistre") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Consommations") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Soldes") ?> </th>
</tr>
<tr>
<th style='text-align:center' width="7%"> <?= _("Valeur") ?> </th>
<th style='text-align:center'> <?= _("Transaction") ?> </th>
<th style='text-align:center'> <?= _("Périodicité") ?> </th>
<th style='text-align:center'> <?= _("Observation") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Famille") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Bénéficiaire") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Famille") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Bénéficiaire") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Famille") ?> </th>
<th style='text-align:center' width="7%"> <?= _("Bénéficiaire") ?> </th>
</tr>
</thead>
<tbody style="overflow:auto; height:210px; ">
<?php foreach ($actes as $v):
$libelle = $this->nettoyer($v['libelle']);
$garantie = $this->nettoyer($v['garantie']);
$codeGarantie = $this->nettoyer($v['codeGarantie']);
$periodicite = $this->nettoyer($v['periodicite']);
$observation = $this->nettoyer($v['observation']);
if (est_anglophone())
{
$libelle = $this->nettoyer($v['libelleEng']);
$garantie = $this->nettoyer($v['garantieEng']);
$periodicite = $this->nettoyer($v['periodiciteEng']);
$observation = $this->nettoyer($v['observationEng']);
}
$pourcentConsoFamille = $this->nettoyer($v['pourcentConsoFamille']);
$pourcentConso = $this->nettoyer($v['pourcentConso']);
$transactionFamille = $this->nettoyer($v['transactionFamille']);
$transactionBeneficiaire = $this->nettoyer($v['transactionBeneficiaire']);
$idBeneficiaire = $this->nettoyer($v['idBeneficiaire']);
$codeActe = $this->nettoyer($v['codeActe']);
$exercieReference = $this->nettoyer($v['exercieReference']);
?>
<?php if($pourcentConso>='50' && $pourcentConso<'80'): ?>
<tr style="background-color: yellow;" valign="top">
<?php elseif($pourcentConso>='80' && $pourcentConso <'100'): ?>
<tr style="background-color: orange;" valign="top">
<?php elseif($pourcentConso >='100' || $transactionBeneficiaire=="1"): ?>
<tr style="background-color: red; color:white" valign="top">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'><?= $codeGarantie ?></td>
<td ><?= $libelle ?></td>
<td align='center'><?= $this->nettoyer($v['tauxPlafond'])?></td>
<td align='center'><?= $this->nettoyer($v['delaiCarenceActe'])?></td>
<td align='center'><?= format_N($this->nettoyer($v['forfaitPlafond']))?></td>
<td align='center'><?= $this->nettoyer($v['nbreTransaction'])?></td>
<td align='center'><?= $periodicite; ?></td>
<td align='center'><?= $observation; ?></td>
<td align='center'><?= format_N($this->nettoyer($v['comptePrestationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['comptePrestation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['consommationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['consommation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['soldeActeFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($v['soldeActe'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">

View File

@ -1,127 +0,0 @@
<div id="div_ententeprealable">
<div id="div_patienter">
</div>
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> No </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center' width="20%"> <?= _("Acte") ?> </th>
<th rowspan="2" style='text-align:center' width="20%"> <?= _("Prestataire (Motif Médical)") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Facturé") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Réel") ?> </th>
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeententeprealable = $this->nettoyer($ententeprealable['idDemandeententeprealable']);
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
$numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']);
$facture = $this->nettoyer($ententeprealable['facture']);
$motifPrestataire = $this->nettoyer($ententeprealable['motifPrestataire']);
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
if ($codeActe=="EXAM"){
if (est_anglophone()){
$libelleActe = "EXAM FEES: ".format_N($fraisReelExamen)." (Voucher No:".$numeroBonExamen.")";
}else{
$libelleActe = "FRAIS EXAMENS: ".format_N($fraisReelExamen)." (Bon No:".$numeroBonExamen.")";
}
}
?>
<?php if($codeReponseEntentePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'>
<input type="button" value="<?= $numeroEntentePrealable ?> "
onClick="javascript:consulter_ententeprealable_2(<?= $idDemandeententeprealable ?>);">
</td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'>
<?php if($codeActe=='EXAM'): ?>
<a title='Voir les examens prescrits' href="javascript:afficherExamensPrescrits('<?= $numeroBonExamen ?>');">
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<?= $libelleActe ?>
<?php endif; ?>
</td>
<td align='center'>
<?php if($motifPrestataire>' '): ?>
<a title='Voir le motif médical' href='javascript:alert("<?= $motifPrestataire ?>");'>
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $this->nettoyer($ententeprealable['prestataire']) ?>
</span>
</a>
<?php else: ?>
<?= $this->nettoyer($ententeprealable['prestataire']) ?>
<?php endif; ?>
</td>
</td>
<td align='center'>
<a title="Voir les infos bénéficiaire" href='javascript:afficheBeneficiaire("<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>");'>
<span style="color:blue;background-color:#eeeeee; border:1px solid #000; border-radius:3px;"><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>
</span>
</a>
</td>
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponsentEnteprealable']) ?></td>
<?php if ($codeReponseEntentePrealable=='2'): ?>
<td align="center" >
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
onClick="javascript:accepter_ententeprealable_2(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
</td>
<td align="center">
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
onClick="javascript:refuser_ententeprealable_2(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
</td>
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endif; ?>
<?php if ($facture=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled></td>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,127 +0,0 @@
<div id="div_ententeprealable">
<div id="div_patienter">
</div>
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> No </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center' width="20%"> <?= _("Acte") ?> </th>
<th rowspan="2" style='text-align:center' width="20%"> <?= _("Prestataire (Motif Médical)") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Facturé") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Réel") ?> </th>
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeententeprealable = $this->nettoyer($ententeprealable['idDemandeententeprealable']);
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
$numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']);
$facture = $this->nettoyer($ententeprealable['facture']);
$motifPrestataire = $this->nettoyer($ententeprealable['motifPrestataire']);
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
if ($codeActe=="EXAM"){
if (est_anglophone()){
$libelleActe = "LIST OF VOUCHER ACTS: ".$numeroBonExamen;
}else{
$libelleActe = "LISTE DES ACTES DU BON: ".$numeroBonExamen;
}
}
?>
<?php if($codeReponseEntentePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'>
<input type="button" style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;" value="<?= $numeroEntentePrealable ?> "
onClick="javascript:consulter_ententeprealable_2(<?= $idDemandeententeprealable ?>);">
</td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'>
<?php if($codeActe=='EXAM'): ?>
<a title='Voir les examens prescrits' href="javascript:afficherExamensPrescrits('<?= $numeroBonExamen ?>');">
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<?= $libelleActe ?>
<?php endif; ?>
</td>
<td align='center'>
<?php if($motifPrestataire>' '): ?>
<a title='Voir le motif médical' style="" href='javascript:alert("<?= $motifPrestataire ?>");'>
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;display: block; width:200px;">
<?= $this->nettoyer($ententeprealable['prestataire']) ?>
</span>
</a>
<?php else: ?>
<?= $this->nettoyer($ententeprealable['prestataire']) ?>
<?php endif; ?>
</td>
</td>
<td align='center'>
<a title="Voir les infos bénéficiaire" href='javascript:afficheBeneficiaire("<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>");'>
<span style="color:blue;background-color:#eeeeee; border:1px solid #000; border-radius:3px;"><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>
</span>
</a>
</td>
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponsentEnteprealable']) ?></td>
<?php if ($codeReponseEntentePrealable=='2'): ?>
<td align="center" >
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
onClick="javascript:accepter_ententeprealable_2(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
</td>
<td align="center">
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
onClick="javascript:refuser_ententeprealable_2(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
</td>
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endif; ?>
<?php if ($facture=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled></td>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,3 +0,0 @@
<div id="div_test_gabarit">
deselectionner
</div>

View File

@ -1,92 +0,0 @@
<?php
?>
<div id="detail_facture">
<INPUT style='text-align:center; font-size:10pt; color:red' class="form-control" TYPE="text" value="<?= _("Filtres : Décomptes non encores payés") ?>" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:recharger_paiement_decompte_non_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:reafficher_paiement_decompte_non_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:valider_selection_paiement_decompte_non_sel();"> <?= _("Mettre à jour le paiement...") ?> </button> </td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Exercice") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Mois") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("No Demande") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("A régler") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Date Demande") ?> </th>
<th rowspan="2" style='text-align:center'> Type </th>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_paiement_decompte_non_sel_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-danger" type="button" value="X" onClick="selectionner_paiement_decompte_non_sel_tout('0');"> </td>
</tr>
</thead>
<tbody>
<?php foreach ($decomptes as $decompte):
$idTemp = $this->nettoyer($decompte['idTemp']);
$idReglement = $this->nettoyer($decompte['idReglement']);
$idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']);
$numeroDecompte = $this->nettoyer($decompte['numeroDecompte']);
$numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']);
$codePrestataire = $this->nettoyer($decompte['codePrestataire']);
$codeExercice = $this->nettoyer($decompte['codeExercice']);
$codeMois = $this->nettoyer($decompte['codeMois']);
$codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']);
if($codeTypeDecompte=="E" or $codeTypeDecompte=="L")
{
$codeTypeDecompte="P";
}
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align="center">
<?php if($codeTypeDecompte=='P'): ?>
<input style='font-size:9pt;' class="form-control btn btn-primary" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:initierdecompte_liste_cpt('<?= $codePrestataire ?>', '<?= $codeExercice ?>', '<?= $codeMois ?>');">
<?php elseif($codeTypeDecompte=='C'): ?>
<input style='font-size:9pt;' class="form-control btn btn-warning" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_dossier_classique_cpt('<?= $numeroDecompte ?>', '<?= $idBeneficiaire ?>' );">
<?php elseif($codeTypeDecompte=='F'): ?>
<input style='font-size:9pt;' class="form-control btn btn-danger" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_frais_funeraire_cpt('<?= $idReglement ?>', '<?= $idBeneficiaire ?>' );">
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($decompte['dateDemandeReglement'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['typedecompte']) ?></td>
<?php if($decompte['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_non_sel(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_non_sel(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,92 +0,0 @@
<?php
?>
<div id="detail_facture">
<INPUT style='text-align:center; font-size:10pt; color:red' class="form-control" TYPE="text" value="<?= _("Filtres : Décomptes non encores payés") ?>" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:recharger_paiement_decompte_non_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:reafficher_paiement_decompte_non_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:valider_selection_paiement_decompte_non_sel();"> <?= _("Mettre à jour le paiement...") ?> </button> </td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Exercice") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Mois") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("No Demande") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("A régler") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Date Demande") ?> </th>
<th rowspan="2" style='text-align:center'> Type </th>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_paiement_decompte_non_sel_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-danger" type="button" value="X" onClick="selectionner_paiement_decompte_non_sel_tout('0');"> </td>
</tr>
</thead>
<tbody>
<?php foreach ($decomptes as $decompte):
$idTemp = $this->nettoyer($decompte['idTemp']);
$idReglement = $this->nettoyer($decompte['idReglement']);
$idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']);
$numeroDecompte = $this->nettoyer($decompte['numeroDecompte']);
$numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']);
$codePrestataire = $this->nettoyer($decompte['codePrestataire']);
$codeExercice = $this->nettoyer($decompte['codeExercice']);
$codeMois = $this->nettoyer($decompte['codeMois']);
$codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']);
if($codeTypeDecompte=="E" or $codeTypeDecompte=="L")
{
$codeTypeDecompte="P";
}
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align="center">
<?php if($codeTypeDecompte=='P'): ?>
<input style='font-size:9pt;' class="form-control btn btn-primary" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:initierdecompte_liste_cpt('<?= $codePrestataire ?>', '<?= $codeExercice ?>', '<?= $codeMois ?>');">
<?php elseif($codeTypeDecompte=='C'): ?>
<input style='font-size:9pt;' class="form-control btn btn-warning" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_dossier_classique_cpt('<?= $numeroDecompte ?>', '<?= $idBeneficiaire ?>' );">
<?php elseif($codeTypeDecompte=='F'): ?>
<input style='font-size:9pt;' class="form-control btn btn-danger" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_frais_funeraire_cpt('<?= $idReglement ?>', '<?= $idBeneficiaire ?>' );">
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($decompte['dateDemandeReglement'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['typedecompte']) ?></td>
<?php if($decompte['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_non_sel(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_non_sel(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,3 +0,0 @@
<div id="div_test_gabarit">
selectionner
</div>

View File

@ -1,36 +0,0 @@
<div id="div_paiementdecompte">
<input class="sr-only" type="text" id="nbDecomptes" name="nbDecomptes" value="<?= $this->nettoyer($reglement['nbDecomptes']) ?>" >
<input class="sr-only" type="text" id="montantApayer" name="montantApayer" value="<?= $this->nettoyer($reglement['montantApayer']) ?>" >
<input class="sr-only" type="text" id="valide" name="valide" value="<?= $this->nettoyer($reglement['valide']) ?>" >
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="10%"> <?= _("No Règlement") ?> </td>
<td> <input style='font-size:9pt; text-align:center;' id="numeroReglement" name="numeroReglement" class = "form-control" type="text" value="<?= $this->nettoyer($reglement['numeroReglement']) ?>" readonly> </td>
<td align='center' width="10%"> Date Init</td>
<td> <input style='font-size:9pt; text-align:center;' class = "form-control" type="text" value="<?= dateheureLang($this->nettoyer($reglement['dateSysteme'])) ?>" readonly> </td>
<td align='center' width="10%"> <?= _("Initiateur") ?> </td>
<td> <input style='font-size:9pt; text-align:center;' id="codeUtilisateur" name="codeUtilisateur" class = "form-control" type="text" value="<?= $this->nettoyer($reglement['codeUtilisateur']) ?>" readonly> </td>
</tr>
<td> <?= _("Nb Décomptes") ?> </td>
<td width="15%"> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbDecomptes'])) ?>" readonly > </td>
<td align='center'> <?= _("Cumul à Payer") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantApayer'])) ?>" readonly > </td>
<td align="center" > <?= _("Composante") ?> </td>
<td>
<SELECT style='font-size:9pt;' onChange="ajaxchangercompsantepaiement_decompte();" class="form-select" id="codeComposante" NAME="codeComposante">
<?php liste_options($composante,"DNP"); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -1,3 +0,0 @@
<div id="div_test_gabarit">
deselectionner
</div>

View File

@ -1,92 +0,0 @@
<?php
?>
<div id="detail_facture">
<INPUT style='text-align:center; font-size:10pt; color:green' class="form-control" TYPE="text" value="Filtres : Décomptes sélectionnés pour paiement" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:recharger_paiement_decompte_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:reafficher_paiement_decompte_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:valider_selection_paiement_decompte_sel();"> <?= _("Mettre à jour le paiement...") ?> </button> </td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Exercice") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Mois") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("No Demande") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("A régler") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Date Demande") ?> </th>
<th rowspan="2" style='text-align:center'> Type </th>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-info" type="button" value="V" onClick="selectionner_paiement_decompte_sel_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-warning" type="button" value="X" onClick="selectionner_paiement_decompte_sel_tout('0');"> </td>
</tr>
</thead>
<tbody>
<?php foreach ($decomptes as $decompte):
$idTemp = $this->nettoyer($decompte['idTemp']);
$idReglement = $this->nettoyer($decompte['idReglement']);
$idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']);
$numeroDecompte = $this->nettoyer($decompte['numeroDecompte']);
$numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']);
$codePrestataire = $this->nettoyer($decompte['codePrestataire']);
$codeExercice = $this->nettoyer($decompte['codeExercice']);
$codeMois = $this->nettoyer($decompte['codeMois']);
$codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']);
if($codeTypeDecompte=="E" or $codeTypeDecompte=="L")
{
$codeTypeDecompte="P";
}
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align="center">
<?php if($codeTypeDecompte=='P'): ?>
<input style='font-size:9pt;' class="form-control btn btn-primary" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:initierdecompte_liste_cpt('<?= $codePrestataire ?>', '<?= $codeExercice ?>', '<?= $codeMois ?>');">
<?php elseif($codeTypeDecompte=='C'): ?>
<input style='font-size:9pt;' class="form-control btn btn-warning" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_dossier_classique_cpt('<?= $numeroDecompte ?>', '<?= $idBeneficiaire ?>' );">
<?php elseif($codeTypeDecompte=='F'): ?>
<input style='font-size:9pt;' class="form-control btn btn-danger" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_frais_funeraire_cpt('<?= $idReglement ?>', '<?= $idBeneficiaire ?>' );">
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($decompte['dateDemandeReglement'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['typedecompte']) ?></td>
<?php if($decompte['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_sel(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_sel(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,92 +0,0 @@
<?php
?>
<div id="detail_facture">
<INPUT style='text-align:center; font-size:10pt; color:green' class="form-control" TYPE="text" value="<?= _("Filtres : Décomptes sélectionnés pour paiement") ?>" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:recharger_paiement_decompte_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:reafficher_paiement_decompte_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:valider_selection_paiement_decompte_sel();"> <?= _("Mettre à jour le paiement...") ?> </button> </td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Exercice") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Mois") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("No Demande") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("A régler") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Date Demande") ?> </th>
<th rowspan="2" style='text-align:center'> Type </th>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-info" type="button" value="V" onClick="selectionner_paiement_decompte_sel_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-warning" type="button" value="X" onClick="selectionner_paiement_decompte_sel_tout('0');"> </td>
</tr>
</thead>
<tbody>
<?php foreach ($decomptes as $decompte):
$idTemp = $this->nettoyer($decompte['idTemp']);
$idReglement = $this->nettoyer($decompte['idReglement']);
$idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']);
$numeroDecompte = $this->nettoyer($decompte['numeroDecompte']);
$numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']);
$codePrestataire = $this->nettoyer($decompte['codePrestataire']);
$codeExercice = $this->nettoyer($decompte['codeExercice']);
$codeMois = $this->nettoyer($decompte['codeMois']);
$codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']);
if($codeTypeDecompte=="E" or $codeTypeDecompte=="L")
{
$codeTypeDecompte="P";
}
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align="center">
<?php if($codeTypeDecompte=='P'): ?>
<input style='font-size:9pt;' class="form-control btn btn-primary" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:initierdecompte_liste_cpt('<?= $codePrestataire ?>', '<?= $codeExercice ?>', '<?= $codeMois ?>');">
<?php elseif($codeTypeDecompte=='C'): ?>
<input style='font-size:9pt;' class="form-control btn btn-warning" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_dossier_classique_cpt('<?= $numeroDecompte ?>', '<?= $idBeneficiaire ?>' );">
<?php elseif($codeTypeDecompte=='F'): ?>
<input style='font-size:9pt;' class="form-control btn btn-danger" type="button" value="<?= $numeroDemandeReglement ?>"
onClick="javascript:rechercher_frais_funeraire_cpt('<?= $idReglement ?>', '<?= $idBeneficiaire ?>' );">
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($decompte['dateDemandeReglement'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['typedecompte']) ?></td>
<?php if($decompte['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_sel(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $decompte['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_paiement_decompte_sel(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,3 +0,0 @@
<div id="div_test_gabarit">
selectionner
</div>

View File

@ -1,36 +0,0 @@
<div id="div_paiementdecompte">
<input class="sr-only" type="text" id="nbDecomptes" name="nbDecomptes" value="<?= $this->nettoyer($reglement['nbDecomptes']) ?>" >
<input class="sr-only" type="text" id="montantApayer" name="montantApayer" value="<?= $this->nettoyer($reglement['montantApayer']) ?>" >
<input class="sr-only" type="text" id="valide" name="valide" value="<?= $this->nettoyer($reglement['valide']) ?>" >
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="10%"> <?= _("No Règlement") ?> </td>
<td> <input style='font-size:9pt; text-align:center;' id="numeroReglement" name="numeroReglement" class = "form-control" type="text" value="<?= $this->nettoyer($reglement['numeroReglement']) ?>" readonly> </td>
<td align='center' width="10%"> Date Init</td>
<td> <input style='font-size:9pt; text-align:center;' class = "form-control" type="text" value="<?= dateheureLang($this->nettoyer($reglement['dateSysteme'])) ?>" readonly> </td>
<td align='center' width="10%"> <?= _("Initiateur") ?> </td>
<td> <input style='font-size:9pt; text-align:center;' id="codeUtilisateur" name="codeUtilisateur" class = "form-control" type="text" value="<?= $this->nettoyer($reglement['codeUtilisateur']) ?>" readonly> </td>
</tr>
<td> <?= _("Nb Décomptes") ?> </td>
<td width="15%"> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbDecomptes'])) ?>" readonly > </td>
<td align='center'> <?= _("Cumul à Payer") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantApayer'])) ?>" readonly > </td>
<td align="center" > <?= _("Composante") ?> </td>
<td>
<SELECT style='font-size:9pt;' onChange="ajaxchangercompsantepaiement_decompte();" class="form-select" id="codeComposante" NAME="codeComposante">
<?php liste_options($composante,"DP"); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -1,271 +0,0 @@
<?php
$this->titre = "INTER-SANTE - Fiche Adhérent";
$codeTypeAvenant = $_SESSION['codeTypeAvenant_C'];
$estsupprimable_0 = ($codeTypeAvenant=="AFN" or $codeTypeAvenant=="REN");
$garantieArchive = $_SESSION['garantieArchive_C'];
$estsupprimable = ($estsupprimable_0 && ($garantieArchive=="0"));
$primeArchiveAdh =$this->nettoyer($adherent['primeArchive']);
$estsupprimableAdh = ($primeArchiveAdh=="0");
$superUser = $_SESSION['superUser'];
$idAdherent = $this->nettoyer($adherent['idAdherent']);
$adherentRetire = $adherent['sorti'];
$dateSortieAdherent = $adherent['dateSortieAdherent'];
$controlerPlafondAdherent = ($_SESSION['controlerPlafondAdherent']>0);
$prestationParLienParente = $_SESSION['prestationParLienParente'];
?>
<script type="text/javascript">
</script>
<INPUT class="sr-only" TYPE="text" id="garantieArchive_C" name="garantieArchive_C" value="<?= $_SESSION['garantieArchive_C'] ?>">
<INPUT class="sr-only" TYPE="text" id="primeArchive" name="primeArchive" value="<?= $adherent['primeArchive'] ?>" >
<INPUT class="sr-only" TYPE="text" id="remplacementAdherent" name="remplacementAdherent" value="<?= $adherent['remplacementAdherent'] ?>" >
<INPUT class="sr-only" TYPE="text" id="remplace" name="remplace" value="<?= $adherent['remplace'] ?>" >
<INPUT class="sr-only" TYPE="text" id="remplacant" name="remplace" value="<?= $adherent['remplacant'] ?>" >
<INPUT class="sr-only" TYPE="text" id="adherentFacture" name="adherentFacture" value="<?= $adherent['adherentFacture'] ?>" >
<FORM name = "formficheadehrent" id = "formficheadehrent" method="POST">
<INPUT class="sr-only" TYPE="text" id="codeEtatFacturation" name="codeEtatFacturation" value="<?=$adherent['codeEtatFacturation']?>" >
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?=$adherent['numeroBeneficiaire']?>" >
<legend><?= _("Informations sur l'adhérent") . " : " . $this->nettoyer($adherent['numeroAdherent'])?></legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="10%" > <?= _("Nom Adh") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$this->nettoyer($adherent['nom'])?>" readonly></td>
<td width="10%" align="center"> <?= _("Prénoms") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer($adherent['prenoms'])?>" readonly></td>
<td width="10%" align="center"> <?= _("Collège") ?> </td>
<td ><INPUT class="form-control" TYPE="text" value="<?=$this->nettoyer($adherent['libelleCollege'])?>" readonly></td>
</tr>
<tr>
<td> <?= _("Tél Portable") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="telephonePortable" NAME="telephonePortable" value="<?=$this->nettoyer($adherent['telephonePortable'])?>" readonly></td>
<td align="center">E-mail</td>
<td><INPUT class="form-control" TYPE="text" id="email" NAME="email" value="<?=$this->nettoyer($adherent['email'])?>" readonly></td>
<td> </td>
<td>
<?php if($estsupprimableAdh==false): ?>
<?php if ($superUser=="1"): ?>
<input class = "form-control btn btn-warning" type="button" value="<?= _("Désarchiver toute la famille") ?>" onClick="javascript:de_archiver_adherent_fiche('<?= $idAdherent ?>');">
<?php endif; ?>
<?php else: ?>
<input class = "form-control btn btn-info" type="button" value="<?= _("Archiver toute la famille") ?>" onClick="javascript:archiver_adherent_fiche('<?= $idAdherent ?>');">
<?php endif; ?>
</tr>
<tr>
<td> <?= _("Pays") ?> </td>
<td><INPUT class="form-control" TYPE="text" value="<?=$this->nettoyer($adherent['pays'])?>" readonly></td>
<td align="center"> <?= (isset($_SESSION['affichagedynamique']['Région'])) ? _($_SESSION['affichagedynamique']['Région']) : _("Région") ?> </td>
<td><INPUT class="form-control" TYPE="text" value="<?=$this->nettoyer($adherent['ville'])?>" readonly></td>
<td align="center"> <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
<td><INPUT class="form-control" TYPE="text" value="<?=$this->nettoyer($adherent['localite'])?>" readonly></td>
</tr>
<?php if($controlerPlafondAdherent): ?>
<tr>
<td> <?= _("Plafond Famille") ?> </td>
<td><INPUT style='text-align:center; background-color:blue;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($limite_adherent['plafondAdherent']) ?>" readonly ></td>
<td align="center"> <?= _("Consommations") ?> </td>
<td><INPUT style='text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($limite_adherent['consommationAdherent']) ?>" readonly ></td>
<td align="center"> <?= _("Solde") ?> </td>
<td> <INPUT style='text-align:center; background-color:green;color:white; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($limite_adherent['soldeAdherent']) ?>" readonly ></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</fieldset>
<?php if ($adherentRetire=="1") : ?>
<div class="alert alert-danger" style="height:30px; padding:5px; margin-bottom:5px; text-align:center;" >
<H4><?= _("Date sortie") . " : " . dateLang($dateSortieAdherent) ?></H4>
</div>
<?php endif; ?>
<fieldset>
<legend> <?= _('Détail de la famille') ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("No") ?> </th>
<th> <?= _("Nom") ?> </th>
<th> <?= _("Prénoms") ?> </th>
<th style='text-align:center'> Sex </th>
<th style='text-align:center'> <?= _("Statut") ?> </th>
<th style='text-align:center'> <?= _("Naissance") ?> </th>
<th style='text-align:center'> Age </th>
<th style='text-align:center'> <?= _("P Base") ?> </th>
<th style='text-align:center'> <?= _("P Nette") ?> </th>
<th style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </th>
<th style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Cartes'])) ? _($_SESSION['composanteprime']['Cartes']) : _("Cartes") ?> </th>
<th style='text-align:center'> <?= _("PRIME TTC") ?> </th>
<th style='text-align:center'> <?= _("Fact") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Archiver") ?> </th>
<th style='text-align:center'> <?= _("Etat") ?> </th>
<th style='text-align:center'> Suppr </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="8" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($totalbeneficiaires['primeHt'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($totalbeneficiaires['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($totalbeneficiaires['fraisCarte'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($totalbeneficiaires['primeTtc'])) ?></td>
<td colspan='4'> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($beneficiaires as $beneficiaire):
$idBeneficiaire = $this->nettoyer($beneficiaire['idBeneficiaire']);
$numeroBeneficiaire = $this->nettoyer($beneficiaire['numeroBeneficiaire']);
$primeArchive = $this->nettoyer($beneficiaire['primeArchive']);
$estsupprimable = ($primeArchive=="0");
if (est_anglophone())
{
$lienParente = $this->nettoyer($beneficiaire['LienParenteEng']);
}
else
{
$lienParente = $this->nettoyer($beneficiaire['LienParente']);
}
?>
<tr onclick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');"
ondblclick="javascript:afficher_beneficiaire_id();" valign="top">
<td align="center"> <input type="button" value="<?= $numeroBeneficiaire ?>"
onClick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');afficher_beneficiaire_id();"> </td>
<td><?= $this->nettoyer($beneficiaire['nomBeneficiaire']) ?></td>
<td><?= $this->nettoyer($beneficiaire['prenomsBeneficiaire']) ?></td>
<td align='center'><?= $this->nettoyer($beneficiaire['sexe']) ?></td>
<td align='center'><?= $lienParente ?></td>
<td align='center'><?= dateLang($this->nettoyer($beneficiaire['dateNaissance'])) ?></td>
<td align='center'><?= $this->nettoyer($beneficiaire['age']) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeHt'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['fraisCarte'])) ?></td>
<?php if($beneficiaire['codeEtatFacturation']=='1'): ?>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeTtc'])) ?></td>
<td align='center'> <input type="checkbox" checked value="<? $beneficiaire['codeEtatFacturation']; ?>" disabled></td>
<td> </td>
<td align='center'><?= $this->nettoyer($beneficiaire['codeEtatBeneficiaire']) ?></td>
<td> </td>
<?php else: ?>
<?php if($estsupprimable) : ?>
<td align='center'> <input class = "form-control btn btn-primary" type="button"
value="<?= format_N($this->nettoyer($beneficiaire['primeTtc'])) ?>"
onClick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>, '<?= $numeroBeneficiaire ?>');
modifier_prime_beneficiaire(<?= $idBeneficiaire ?>)"> </td>
<td align='center'> <input type="checkbox" value="<? $beneficiaire['codeEtatFacturation']; ?>" disabled></td>
<td> <input class = "form-control btn btn-info" type="button" value="<?= _("Archiver") ?>" onClick="javascript:archiver_beneficiaire('<?= $idBeneficiaire ?>');"></td>
<td align='center'><?= $this->nettoyer($beneficiaire['codeEtatBeneficiaire']) ?></td>
<td align='center'> <input type="button" value="X" onClick="javascript:supprimer_beneficiaire_id('<?= $idBeneficiaire ?>');"></td>
<?php else: ?>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeTtc'])) ?></td>
<td align='center'> <input type="checkbox" value="<? $beneficiaire['codeEtatFacturation']; ?>" disabled></td>
<?php if ($superUser=="1"): ?>
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Désarchiver") ?>" onClick="javascript:de_archiver_beneficiaire('<?= $idBeneficiaire ?>');"></td>
<?php else : ?>
<td> </td>
<?php endif; ?>
<td align='center'><?= $this->nettoyer($beneficiaire['codeEtatBeneficiaire']) ?></td>
<td> </td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="16" height="1"></td>
</tr>
</tbody>
</table>
</fieldset>
<?php if ($prestationParLienParente!="1") : ?>
<legend> <?= _("Limites de la famille") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th style="text-align:center"> <?= _("Exercice") ?> </th>
<th style="text-align:center"> <?= _("Garantie") ?> </th>
<th style="text-align:center"> <?= _("Limites Contrat") ?> </th>
<th style="text-align:center"> <?= _("Taux Incorporation (%)") ?> </th>
<th style="text-align:center"> <?= _("Limites en vigeur") ?> </th>
<th style="text-align:center"> <?= _("Consommations") ?> </th>
<th style="text-align:center"> <?= _("Solde") ?> </th>
<th style="text-align:center"> <?= _("Par tête?") ?> </th>
<th style="text-align:center"> <?= _("Parent") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garantieadherents as $garantieadherent):
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($garantieadherent['exercieReference'])?> </td>
<td align='center'> <?= $this->nettoyer($garantieadherent['garantie'])?> </td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['plafondAnnuel'])) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['tauxAvenant']) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['plafond'])) ?></td>
<?php if($champApplication=='1'): ?>
<td> </td>
<td> </td>
<td align='center'> <input type="checkbox" checked value="<?php echo $champApplication ; ?>" disabled ></td>
<?php else: ?>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['solde'])) ?></td>
<td align='center'> <input type="checkbox" value="<?php echo $champApplication ; ?>" disabled ></td>
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($garantieadherent['garantieparentaffichage'])?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</FORM>
<div id="div_suppressionReussie">
</div>

View File

@ -107,20 +107,25 @@
<div class="mb-3"> <div class="mb-3">
<div class="input-group input-group-lg"> <div class="input-group input-group-lg">
<span class="input-group-text">Tag NFC</span>
<span class="input-group-text" style="font-size: 13pt;">Tag NFC</span>
<input type="text" <input type="text"
id="tagCarteNfc" id="tagCarteNfc"
value="<?= htmlspecialchars($beneficiaire['tagCarteNfc']) ?>" value="<?= htmlspecialchars($beneficiaire['tagCarteNfc']) ?>"
readonly readonly
class="form-control text-center" class="form-control text-center"
style="letter-spacing: 1px;" style="letter-spacing: -1px; font-size:13pt;"
> >
<button type="button" <button type="button"
class="btn btn-primary" class="btn btn-primary"
onclick="copierTag()" onclick="copierTag()"
title="Copier le tag NFC"> title="Copier le tag NFC"
style="font-size:13pt;">
<i class="fas fa-copy"></i> Copier le tag NFC <i class="fas fa-copy"></i> Copier le tag NFC
</button> </button>
</div> </div>
</div> </div>

View File

@ -1,285 +0,0 @@
<?php
// $this->titre = "INTER-SANTE - Fiche Bénéficiaire";
$datejour = $this->datejour;
$estcouvert = ($_SESSION['dateEcheancePolice_C']>=$datejour);
$sorti = $this->nettoyer($beneficiaire['sorti']);
$dateSortieBeneficiaire = $this->nettoyer($beneficiaire['dateSortieBeneficiaire']);
$estsorti = false;
// if($dateSortieBeneficiaire>"2000-01-01")
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'];
}
else
{
$produit = $beneficiaire['produit'];
$naturepiece = $beneficiaire['naturepiece'];
$lienparente = $beneficiaire['lienparente'];
$motifsortie = $beneficiaire['motifsortie'];
$etatbeneficiaire = $beneficiaire['etatbeneficiaire'];
}
?>
<script type="text/javascript">
</script>
<INPUT class="sr-only" TYPE="text" id="garantieArchive_C" name="garantieArchive_C" value="<?= $_SESSION['garantieArchive_C'] ?>">
<INPUT class="sr-only" TYPE="text" id="primeArchive" name="primeArchive" value="<?= $beneficiaire['primeArchive'] ?>" >
<FORM name= "formfichebeneficiaire" id ="formfichebeneficiaire" method="POST">
<fieldset>
<legend><?= _("Informations sur le Bénéficiaire") . " : " . $beneficiaire['numeroBeneficiaire'] . " => " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffet'])) . " => " . _("TAUX DE COUVERTURE") . " : " . taux_couverture(intval($this->nettoyer($beneficiaire['ticketModerateur'])))?> </legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="10%" > <?= _("Collège") ?> </td>
<td width="24%" ><INPUT class="form-control" TYPE="text" id="produit" name="produit" value="<?= $beneficiaire['libelleCollege'] ?>" readonly ></td>
<td width="10%" align="center"> <?= _("Entrée") ?> </td>
<td width="24%" ><INPUT class="form-control" TYPE="text" id="dateEntree" NAME="dateEntree" value="<?= dateLang($this->nettoyer($beneficiaire['dateEntree'])) ?>" readonly></td>
<td width="10%" align="center"> <?= _("Nom Bénéf") ?> </td>
<td width="22%" ><INPUT class="form-control majuscule" TYPE="text" id="nomBeneficiaire" NAME="nomBeneficiaire" value="<?= $beneficiaire['nomBeneficiaire'] ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Prénoms") ?> </td>
<td><INPUT class="form-control majuscule" TYPE="text" id="prenomsBeneficiaire" NAME="prenomsBeneficiaire" value="<?= $beneficiaire['prenomsBeneficiaire'] ?>" readonly ></td>
<td align="center"> <?= _("Lien Parenté") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="lienparente" name="lienparente" value="<?= $lienparente ?>" readonly ></td>
<td align="center"> <?= _("Naissance") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="dateNaissance" NAME="dateNaissance" value="<?= dateLang($this->nettoyer($beneficiaire['dateNaissance'])).' => '.$beneficiaire['age'].' ans' ?>" readonly></td>
</tr>
<tr>
<td>Sexe</td>
<td><INPUT class="form-control" TYPE="text" id="sexe" name="sexe" value="<?= $beneficiaire['sexe'] ?>" readonly ></td>
<td align="center"> <?= _("Groupe Sanguin") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="codeGroupeSanguin" name="codeGroupeSanguin" value="<?= $beneficiaire['codeGroupeSanguin'] ?>" readonly ></td>
<td align="center"> <?= _("Nat Pièce") ?></td>
<td><INPUT class="form-control" TYPE="text" id="naturepiece" name="naturepiece" value="<?= $naturepiece ?>" readonly ></td>
</tr>
<tr>
<td><?= _("N°Pièce / N°CMU") ?></td>
<td><INPUT class="form-control" TYPE="text" id="numeroPiece" NAME="numeroPiece" value="<?= $beneficiaire['numeroPiece'].' / '.$beneficiaire['numeroCmu'] ?>" readonly ></td>
<td align="center"> <?= _("Tél Port") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephonePortable" NAME="telephonePortable" value="<?= $beneficiaire['telephonePortable'] ?>" readonly ></td>
<td align="center"> <?= _("Etat") ?> </td>
<?php if ($dateEffetCouvert=="0") : ?>
<td align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Non renouvelé") ?> </td>
<?php else: ?>
<?php if ($estcouvert) : ?>
<?php if ($beneficiaire['codeEtatBeneficiaire']=="V"): ?>
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $etatbeneficiaire ?> </td>
<?php else: ?>
<td align="center" style='font-size:10pt; background-color:red;color:white;'> <?= $etatbeneficiaire ?> </td>
<?php endif; ?>
<?php else: ?>
<?php if ($estsorti): ?>
<td align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Retiré") ?> </td>
<?php else: ?>
<td align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Expiré") ?> </td>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
</tr>
<tr>
<td> <?= _("Sortie") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="dateSortie" NAME="dateSortie" value="<?= dateLang($this->nettoyer($beneficiaire['dateSortie'])) ?>" readonly></td>
<td align="center"> <?= _("Motif Sortie") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="motifSortie" NAME="motifSortie" value="<?= $motifsortie ?>" readonly></td>
<td align="center"> <?= _("No Fam") ?> </td>
<td><INPUT class="form-control" TYPE="text" value="<?= $beneficiaire['numeroAdherent'] ?>" readonly ></td>
</tr>
</tbody>
</table>
</fieldset>
<?php if ($estsorti): ?>
<div class="alert alert-danger" style="height:30px; padding:5px; margin-bottom:5px; text-align:center;" >
<H4><?= _("Date sortie") . " : " . dateLang($dateSortieBeneficiaire) ?></H4>
</div>
<?php endif; ?>
<div id="div_legende_couleur" style="width:100%; margin: 10px;">
<table class="table-responsive" style="width:80%; margin:auto;">
<tbody>
<tr>
<td style="font-weight:bold; text-decoration:underline;">Niveau de consommation:</td>
<td width="2%"></td>
<td style="font-weight:bold;"> Supérieur ou égal à 50%</td>
<td width="1%"></td>
<td width="4%" style="background-color:yellow"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Supérieur ou égal à 80%</td>
<td width="1%"></td>
<td width="4%" style="background-color: orange"></td >
<td width="2%"></td>
<td style="font-weight:bold;">Egal à 100% ou Transaction atteinte</td>
<td width="1%"></td>
<td width="4%" style="background-color: red;"></td >
</tr>
</tbody>
</table>
</div>
<fieldset>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th rowspan="2" style="text-align:center"> <?= _("Exercice") ?> </th>
<th rowspan="2" width="15%" style="text-align:center"> <?= _("Garantie") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Plafond") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("Periodicité") ?> </th>
<th rowspan="2" style="text-align:center"> <?= _("Nbre Transaction") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Nbre Sinistre") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Consommations") ?> </th>
<th colspan="2" style="text-align:center"> <?= _("Solde") ?> </th>
</tr>
<tr>
<th style="text-align:center" width="10%"> <?= _("Chiffre") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Lettre") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Famille") ?> </th>
<th style="text-align:center" width="10%"> <?= _("Bénéficiaire") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garantieadherents as $garantieadherent):
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
$pourcentConsoFamille = $this->nettoyer($garantieadherent['pourcentConsoFamille']);
$pourcentConso = $this->nettoyer($garantieadherent['pourcentConso']);
$transactionFamille = $this->nettoyer($garantieadherent['transactionFamille']);
$transactionBeneficiaire = $this->nettoyer($garantieadherent['transactionBeneficiaire']);
$idBeneficiaire = $this->nettoyer($garantieadherent['idBeneficiaire']);
$codeGarantie = $this->nettoyer($garantieadherent['codeGarantie']);
$exercieReference = $this->nettoyer($garantieadherent['exercieReference']);
?>
<?php if($pourcentConso>='50'): ?>
<tr style="background-color: yellow;" valign="top">
<?php elseif($pourcentConso>='80'): ?>
<tr style="background-color: orange;" valign="top">
<?php elseif($pourcentConso =='100' || $transactionBeneficiaire=="1"): ?>
<tr style="background-color: red; color:white" valign="top">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($garantieadherent['exercieReference'])?> </td>
<td align='center'>
<?php if($pourcentConso >='95' || $transactionBeneficiaire=="1"): ?>
<a title="Suspendre la garantie" href="javascript:suspendreGarantieBeneficiaire('<?= $idBeneficiaire ?>','<?= $codeGarantie ?>','<?= $exercieReference ?>');">
<span style="color:blue; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $this->nettoyer($garantieadherent['garantie'])?>
</span>
</a>
<?php else: ?>
<?= $this->nettoyer($garantieadherent['garantie'])?>
<?php endif; ?>
</td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['plafond'])) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['plafondLettre']) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['codePeriodicite']) ?></td>
<td align='center'><?= $this->nettoyer($garantieadherent['nbreTransaction']) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['comptePrestation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommationFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['soldeGarantieFamille'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($garantieadherent['soldeGarantie'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</FORM>
<?php if ($_SESSION['codeTypeUtilisateur']=='AA'): ?>
<form enctype="multipart/form-data" action="Fichebeneficiaire/<?= $_SESSION['idBeneficiaire_C'] ?>/" method="post">
<?php if ($beneficiaire['lienPhoto']<=' '): ?>
<div class="col-xs-12">
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Aucune photo") ?>" readonly>
</div>
<?php endif; ?>
<div class="col-xs-12">
<fieldset>
<?php if ($_SESSION['lienPhoto_C']>" "): ?>
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="Changer la photo" readonly >
<?php else: ?>
<INPUT style="font-size: 15px; height: 30px" class="form-control" TYPE="text" value="Attribuer une photo" readonly >
<?php endif; ?>
<label for="fichier_a_uploader" title="Recherchez une photo!"></label>
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
<input style="font-size: 15px; height: 40px" class="form-control btn btn-primary" name="fichier_image_a_uploader" type="file" id="fichier_image_a_uploader" />
<br>
<input style="font-size: 15px; height: 30px" class="form-control btn btn-primary" type="submit" name="submit" value="Mettre à jour" />
</fieldset>
<h4 style="text-align: center">
<?php if ($message>" "): ?>
<div class="col-xs-12 alert alert-danger">
<?= $message ?>
</div>
<?php endif; ?>
</h4>
</div>
<?php if ($message=='Chargement réussi !'): ?>
<INPUT style="text-align: center" class="form-control" TYPE="text" value="Le Nouveau Fichier Photo : <?= $nouveau_fichier ?>" readonly>
<?php else: ?>
<INPUT style="text-align: center" class="form-control" TYPE="text" value="Fichier Photo Actuel : <?= $beneficiaire['lienPhoto'] ?>" readonly>
<?php endif; ?>
</form>
<?php else:
if ($beneficiaire['lienPhoto']<=' '): ?>
<INPUT style="text-align: center" class="form-control" TYPE="text" value="<?= _("Aucune photo") ?>" readonly>
<?php endif;
endif; ?>

View File

@ -56,7 +56,6 @@
<div class="modal-body"> <div class="modal-body">
<form class="form-horizontal" action="Htagcarte/revoquercarte" method="post" style='font-size:10pt;'> <form class="form-horizontal" action="Htagcarte/revoquercarte" method="post" style='font-size:10pt;'>
<INPUT class="sr-only" TYPE="text" id="idHtagcarte" name="idHtagcarte" value=""> <INPUT class="sr-only" TYPE="text" id="idHtagcarte" name="idHtagcarte" value="">
<table class="table table-responsive table-condensed" style='font-size:12pt;'> <table class="table table-responsive table-condensed" style='font-size:12pt;'>
<tbody> <tbody>
<tr> <tr>
@ -73,11 +72,9 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</form>
</form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal"><?= _("Fermer") ?></button> <button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal"><?= _("Fermer") ?></button>
</div> </div>

View File

@ -1,99 +0,0 @@
<?php $this->titre = "INTER SANTE - Sélection Décompte "; ?>
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['codePrestataire_C'] ?>">
<form id="frmconsultation" name="frmconsultation" method="post" >
<legend> <?= _("Fiche sélection Décompte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("Prestataire") ?> </td>
<td colspan="3">
<?php if ($_SESSION['prestataire_C']>" "): ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataire" style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= $_SESSION['prestataire_C'] ?> </span></button>
<?php else : ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataire" style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= _("Tous / Rechercher Prestataire...") ?> </span></button>
<?php endif; ?>
</td>
</tr>
<tr>
<td> <?= _("Exercice") ?> </td>
<td width="35%">
<select class="form-select" id="codeExercice" NAME="codeExercice" required AUTOCOMPLETE="OFF" style='font-size:10pt;' >
<?php liste_options($exercice, $_SESSION['codeExercice_C']); ?>
</SELECT>
</td>
<td width="15%" align="center"> <?= _("Période") ?> </td>
<td>
<div id="listeacte">
<select class="form-select" id="codeMois" NAME="codeMois" required AUTOCOMPLETE="OFF" style='font-size:10pt;' >
<?php liste_options($periode, $_SESSION['codeMois_C']); ?>
</SELECT>
</div>
</td>
</tr>
<tr>
<td> </td>
<td colspan="3"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Poursuivre...") ?>" onClick="initierdecompte();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:30px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id="inforegle" style='font-size:10pt;'>
<input class="sr-only" type="text" id="regle" name="regle" value="-1">
</div>
<div class="modal fade" id="popRecherchePrestataire" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Rechercher un prestataire...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_listeprestataires" onkeypress="javascript:ctrlkeypress_prestataire(event);">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
<thead>
<tr>
<th style="text-align:center" width="15%" > Code </th>
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
<th colspan="2" style="text-align:center" > Type </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire();" /></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire();" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
<div id ="div_wait">
</div>

View File

@ -1,5 +0,0 @@
<div id="div_test">
apres
</div>

View File

@ -46,23 +46,27 @@
<legend ><?= _("Informations sur le Bénéficiaire") .$strVip." : (" . $beneficiaire['numeroBeneficiaire'] . ") => " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffetBeneficiaire'])) ?></legend> <legend ><?= _("Informations sur le Bénéficiaire") .$strVip." : (" . $beneficiaire['numeroBeneficiaire'] . ") => " . _("Date Effet") . " : " . dateLang($this->nettoyer($beneficiaire['dateEffetBeneficiaire'])) ?></legend>
<div class="mb-3"> <div class="mb-3">
<div class="input-group input-group-lg"> <div class="input-group input-group-lg">
<span class="input-group-text">Tag NFC</span>
<span class="input-group-text" style="font-size: 13pt;">Tag NFC</span>
<input type="text" <input type="text"
id="tagCarteNfc" id="tagCarteNfc"
value="<?= htmlspecialchars($beneficiaire['tagCarteNfc']) ?>" value="<?= htmlspecialchars($beneficiaire['tagCarteNfc']) ?>"
readonly readonly
class="form-control text-center" class="form-control text-center"
style="letter-spacing: 1px;" style="letter-spacing: -1px; font-size:13pt;"
> >
<button type="button" <button type="button"
class="btn btn-primary" class="btn btn-primary"
onclick="copierTag()" onclick="copierTag()"
title="Copier le tag NFC"> title="Copier le tag NFC"
style="font-size:13pt;">
<i class="fas fa-copy"></i> Copier le tag NFC <i class="fas fa-copy"></i> Copier le tag NFC
</button> </button>
</div> </div>
</div> </div>

View File

@ -1,117 +0,0 @@
<?php
// $this->titre = "INTER SANTE - "._("Rechercher assuré") ;
?>
<form id="frmrecherche" name="frmrecherche" method="post" action="Recherche/index/">
<fieldset>
<legend> <?= _("Critères de recherche de l'assuré") ?> </legend>
<table class="table table-condensed table-responsive" style='font-size:8pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Numéro Bénéficiaire") ?> </td>
<td width="40%" ><INPUT class="form-control" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" autofocus AUTOCOMPLETE="OFF"></td>
<td align="center" width="10%"> <?= _("Numéro Famille") ?> </td>
<td align="center"><INPUT class="form-control" TYPE="text" id="numeroAdherent" name="numeroAdherent" AUTOCOMPLETE="OFF"></td>
</tr>
<tr>
<td> <?= _("Nom") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="nomBeneficiaire" name="nomBeneficiaire" AUTOCOMPLETE="OFF"></td>
<td align="center"> <?= _("Prénoms") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="prenomsBeneficiaire" name="prenomsBeneficiaire" AUTOCOMPLETE="OFF"></td>
</tr>
<tr>
<td>Tel</td>
<td><INPUT class="form-control" TYPE="text" id="telephonePortable" NAME="telephonePortable" AUTOCOMPLETE="OFF"></td>
<td align="center">E-mail</td>
<td><INPUT class="form-control" TYPE="text" id="email" NAME="email" AUTOCOMPLETE="OFF"></td>
</tr>
<tr>
<td><input id="lancerrecherche" name="lancerrecherche" class="sr-only" type="submit" value="<?= _("Rechercher") ?>" ></td>
</tr>
</tbody>
</table>
</fieldset>
<?php if (is_array($derniernumerobeneficiaires) && $derniernumerobeneficiaires['nouveau']>0): ?>
<div class="alert alert-danger" style="height:30px; padding:5px; text-align:center; margin-bottom:5px;" >
<H4> <?= _("Cette carte")." => ".$derniernumerobeneficiaires['ancien'] . " "._("a été déclarée perdue et remplacée par") ." => ".$derniernumerobeneficiaires['nouveau'] .". ". _("Veuillez ne pas le communiquer sans autorisation.") ?> </H4>
</div>
<?php endif; ?>
<?php
/*
$keys = [
'session.gc_maxlifetime',
'session.cookie_lifetime',
'session.cookie_secure',
'session.cookie_httponly',
'session.cookie_samesite',
'session.gc_probability',
'session.gc_divisor',
];
foreach ($keys as $k) {
echo $k . ' = ' . ini_get($k) . "<br>";
}
*/
?>
<h4> <?= _("Résultats de la recherche") ?> </h4>
<?php if (is_array($beneficiaires) && count($beneficiaires) > 0): ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:8pt;'>
<thead>
<tr>
<th width="8%" style="text-align: center"> <?= _("Numéro Bénéficiaire") ?> </th>
<th width="8%" style="text-align: center"> <?= _("Numéro Famille") ?> </th>
<th width="20%" > <?= _("Nom") ?> </th>
<th width="20%" > <?= _("Prénoms") ?> </th>
<th style="text-align: center"> <?= _("Lien parenté") ?> </th>
<th style="text-align: center"> <?= _("Naissance") ?> </th>
<th style="text-align: center"><?= _("Genre") ?></th>
<th style="text-align: center"> <?= _("Tél") ?> </th>
<th width="20%" > <?= _("Souscripteur") ?> </th>
<th> <?= _("Etat") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($beneficiaires as $beneficiaire):
$idBeneficiaire=$this->nettoyer($beneficiaire['id']);
$numeroBeneficiaire=$this->nettoyer($beneficiaire['numeroBeneficiaire']);
?>
<tr onclick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');"
ondblclick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');afficher_beneficiaire_id();" valign="top">
<td align="center"> <input type="button" value="<?= $numeroBeneficiaire ?>" onClick="javascript:selectionner_beneficiaire(<?= $idBeneficiaire ?>,'<?= $numeroBeneficiaire ?>');afficher_beneficiaire_id();"> </td>
<td align="center"> <?= $this->nettoyer($beneficiaire['numeroAdherent']) ?></td>
<td><?= $this->nettoyer($beneficiaire['nomBeneficiaire']) ?></td>
<td><?= $this->nettoyer($beneficiaire['prenomsBeneficiaire']) ?></td>
<td align="center"><?= $this->nettoyer($beneficiaire['codeLienParente']) ?></td>
<td align="center"><?= dateLang($this->nettoyer($beneficiaire['dateNaissance'])) ?></td>
<td align="center"><?= $this->nettoyer($beneficiaire['sexe']) ?></td>
<td align="center"><?= $this->nettoyer($beneficiaire['telephonePortable']) ?></td>
<td><?= $this->nettoyer($beneficiaire['nomClient']) ?></td>
<td align="center"><?= $this->nettoyer($beneficiaire['codeEtatBeneficiaire']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</form>

330
Vue/Rechercheparcarte/index.php Executable file
View File

@ -0,0 +1,330 @@
<?php
$this->titre = "INTER-SANTE - "._("Recherche du patient par carte") ;
?>
<style>
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&family=Exo+2:wght@400;600&display=swap');
/* ===== WRAPPER & BORDURE ANIMÉE ===== */
.scan-wrapper {
position: relative;
width: 100%;
max-width: 720px;
margin: 40px auto;
}
.scan-wrapper::before {
content: '';
position: absolute;
inset: -3px;
border-radius: 20px;
background: linear-gradient(135deg, #00c9ff, #0055a5, #00e5ff, #0055a5, #00c9ff);
background-size: 300% 300%;
animation: borderGlow 3s linear infinite;
z-index: 0;
}
.scan-wrapper.has-value::before {
background: linear-gradient(135deg, #00c853, #1b5e20, #69f0ae, #1b5e20, #00c853);
background-size: 300% 300%;
}
.scan-wrapper.has-error::before {
background: linear-gradient(135deg, #ff1744, #b71c1c, #ff6e6e, #b71c1c, #ff1744);
background-size: 300% 300%;
}
@keyframes borderGlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* ===== INNER CONTAINER ===== */
.scan-inner {
position: relative;
z-index: 1;
background: #050f20;
border-radius: 18px;
padding: 16px 20px 20px;
overflow: hidden;
}
/* Ligne de scan animée */
.scan-inner::after {
content: '';
position: absolute;
left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent 0%, #00e5ff 30%, #ffffff 50%, #00e5ff 70%, transparent 100%);
animation: scanLine 2.5s ease-in-out infinite;
pointer-events: none;
z-index: 2;
opacity: 0.7;
}
@keyframes scanLine {
0% { top: 0%; opacity: 0; }
5% { opacity: 0.8; }
95% { opacity: 0.8; }
100% { top: 100%; opacity: 0; }
}
/* ===== COINS DÉCORATIFS ===== */
.scan-corner {
position: absolute;
width: 20px; height: 20px;
border-color: #00c9ff;
border-style: solid;
z-index: 4;
transition: border-color 0.3s;
}
.scan-corner.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.scan-corner.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.scan-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.scan-corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }
.scan-wrapper.has-value .scan-corner { border-color: #00c853; }
.scan-wrapper.has-error .scan-corner { border-color: #ff1744; }
/* ===== LABEL EN-TÊTE ===== */
.scan-label {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-family: 'Exo 2', sans-serif;
font-size: 9.5pt;
font-weight: 600;
letter-spacing: 3px;
text-transform: uppercase;
color: rgba(0, 180, 230, 0.6);
margin-bottom: 6px;
}
.nfc-icon-pulse {
animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 0.35; transform: scale(1); }
50% { opacity: 1; transform: scale(1.2); }
}
/* ===== CHAMP INPUT ===== */
#donneesCarte {
font-family: 'Rajdhani', monospace !important;
font-size: 24pt !important;
font-weight: 700;
height: 130px !important;
width: 100% !important;
text-align: center;
/* Données masquées (sécurité) */
color: transparent !important;
text-shadow: 0 0 10px rgba(0, 229, 255, 0.8) !important;
caret-color: #00e5ff;
/* Fond & bordure */
background: transparent !important;
border: none !important;
outline: none !important;
box-shadow: none !important;
letter-spacing: 4px;
position: relative;
z-index: 3;
transition: text-shadow 0.3s;
}
#donneesCarte::placeholder {
font-family: 'Exo 2', sans-serif !important;
font-size: 20pt !important;
font-weight: 600;
color: rgba(0, 210, 255, 0.85) !important;
text-shadow: 0 0 12px rgba(0, 210, 255, 0.5) !important;
letter-spacing: 1px;
}
#donneesCarte:focus::placeholder {
color: rgba(0, 210, 255, 0.55) !important;
text-shadow: 0 0 8px rgba(0, 210, 255, 0.3) !important;
}
/* État : données détectées */
#donneesCarte.reading {
text-shadow: 0 0 14px rgba(0, 200, 83, 0.9) !important;
animation: none !important;
}
/* ===== INDICATEUR DE LECTURE ===== */
.reading-indicator {
display: none;
text-align: center;
margin-top: 6px;
font-family: 'Exo 2', sans-serif;
font-size: 11pt;
font-weight: 600;
letter-spacing: 2px;
color: #00c853;
text-transform: uppercase;
animation: fadeInUp 0.3s ease;
}
.reading-indicator.active {
display: block;
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
/* ===== SPINNER WAIT ===== */
#div_wait_nfc {
min-height: 0;
transition: min-height 0.3s;
}
/* ===== MESSAGE ERREUR ===== */
.alert-danger {
max-width: 720px;
margin: 16px auto 0;
border-radius: 10px;
border: 1px solid #ff1744;
background: rgba(183, 28, 28, 0.15);
color: #ff6e6e;
text-align: center;
padding: 10px 16px;
}
</style>
<form id="frmrechercheparcarte" name="frmrechercheparcarte" method="post" action="Rechercheparcarte/index/">
<div class="scan-wrapper" id="scan-wrapper">
<div class="scan-inner">
<!-- Coins décoratifs -->
<div class="scan-corner tl"></div>
<div class="scan-corner tr"></div>
<div class="scan-corner bl"></div>
<div class="scan-corner br"></div>
<!-- Label -->
<div class="scan-label">
<svg class="nfc-icon-pulse" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#00c9ff" stroke-width="2" stroke-linecap="round">
<path d="M20 6a10 10 0 0 1 0 12"/>
<path d="M17 9a6 6 0 0 1 0 6"/>
<path d="M14 11.5a2 2 0 0 1 0 1"/>
<line x1="4" y1="12" x2="4.01" y2="12"/>
</svg>
INTER-SANTÉ &nbsp;·&nbsp; NFC / QR Code
</div>
<!-- Champ principal -->
<INPUT
class="form-control"
TYPE="text"
id="donneesCarte"
name="donneesCarte"
autofocus
AUTOCOMPLETE="OFF"
placeholder="<?= _("Veuillez scanner la carte NFC ou le QR code!")?>">
<!-- Indicateur -->
<div class="reading-indicator" id="reading-indicator">
<i class="fa fa-check-circle"></i>&nbsp;
<span id="indicator-text"><?= _("Carte détectée") ?></span>
</div>
</div>
</div>
<input id="lancerrechercheparcarte" name="lancerrechercheparcarte" class="sr-only" type="submit" value="<?= _("Rechercher") ?>">
</form>
<div id="div_wait_nfc"></div>
<?php if (isset($msgErreur) && $msgErreur > " "): ?>
<div class="alert alert-danger">
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
<script>
const inputField = document.getElementById('donneesCarte');
const indicator = document.getElementById('reading-indicator');
const indicatorText = document.getElementById('indicator-text');
const scanWrapper = document.getElementById('scan-wrapper');
// ===== SÉCURITÉ : empêcher copie/coller =====
inputField.addEventListener('contextmenu', e => e.preventDefault());
inputField.addEventListener('copy', e => e.preventDefault());
inputField.addEventListener('cut', e => e.preventDefault());
// ===== MAINTIEN DU FOCUS =====
inputField.addEventListener('blur', function() {
setTimeout(() => this.focus(), 10);
});
const focusInterval = setInterval(function() {
if (document.activeElement !== inputField && !document.hidden) {
inputField.focus();
}
}, 200);
document.addEventListener('keydown', function(e) {
if (!e.ctrlKey && !e.altKey && !e.metaKey && document.activeElement !== inputField) {
inputField.focus();
}
});
document.getElementById('frmrechercheparcarte').addEventListener('submit', function() {
clearInterval(focusInterval);
});
// ===== DÉTECTION DU TYPE =====
function detectScanType(value) {
return value.endsWith('qr') ? 'qr' : 'nfc';
}
// ===== FEEDBACK VISUEL À LA SAISIE =====
inputField.addEventListener('input', function() {
if (this.value.length > 0) {
this.classList.add('reading');
indicator.classList.add('active');
scanWrapper.classList.add('has-value');
scanWrapper.classList.remove('has-error');
const type = detectScanType(this.value);
indicatorText.textContent = type === 'qr'
? '<?= _("QR code détecté") ?>'
: '<?= _("Carte détectée") ?>';
} else {
this.classList.remove('reading');
indicator.classList.remove('active');
scanWrapper.classList.remove('has-value', 'has-error');
}
});
// ===== SOUMISSION AUTO =====
inputField.addEventListener('change', function() {
if (this.value.length > 3) {
const type = detectScanType(this.value);
const message = type === 'qr'
? '<?= _("Traitement du QR code...") ?>'
: '<?= _("Lecture de la carte...") ?>';
$('#div_wait_nfc').html(
'<div style="padding-top:60px; text-align:center; font-family:\'Exo 2\',sans-serif; color:#00c9ff;">'
+ '<i class="fa fa-spinner fa-spin fa-4x"></i>'
+ '<p style="margin-top:20px; font-size:13pt; letter-spacing:2px; text-transform:uppercase;">' + message + '</p>'
+ '</div>'
);
this.form.submit();
}
});
// ===== FOCUS INITIAL =====
window.addEventListener('load', () => inputField.focus());
document.addEventListener('DOMContentLoaded', () => inputField.focus());
// ===== Afficher erreur en rouge si présente =====
<?php if (isset($msgErreur) && $msgErreur > " "): ?>
scanWrapper.classList.add('has-error');
<?php endif; ?>
</script>

View File

@ -1,38 +0,0 @@
* 1.0.0 build 2010031920
- first public release
- help in readme, install
- cleanup ans separation of QRtools and QRspec
- now TCPDF binding requires minimal changes in TCPDF, having most of job
done in QRtools tcpdfBarcodeArray
- nicer QRtools::timeBenchmark output
- license and copyright notices in files
- indent cleanup - from tab to 4spc, keep it that way please :)
- sf project, repository, wiki
- simple code generator in index.php
* 1.1.0 build 2010032113
- added merge tool wich generate merged version of code
located in phpqrcode.php
- splited qrconst.php from qrlib.php
* 1.1.1 build 2010032405
- patch by Rick Seymour allowing saving PNG and displaying it at the same time
- added version info in VERSION file
- modified merge tool to include version info into generated file
- fixed e-mail in almost all head comments
* 1.1.2 build 2010032722
- full integration with TCPDF thanks to Nicola Asuni, it's author
- fixed bug with alphanumeric encoding detection
* 1.1.3 build 2010081807
- short opening tags replaced with standard ones
* 1.1.4 build 2010100721
- added missing static keyword QRinput::check (found by Luke Brookhart, Onjax LLC)

View File

@ -1,67 +0,0 @@
== REQUIREMENTS ==
* PHP5
* PHP GD2 extension with JPEG and PNG support
== INSTALLATION ==
If you want to recreate cache by yourself make sure cache directory is
writable and you have permisions to write into it. Also make sure you are
able to read files in it if you have cache option enabled
== CONFIGURATION ==
Feel free to modify config constants in qrconfig.php file. Read about it in
provided comments and project wiki page (links in README file)
== QUICK START ==
Notice: probably you should'nt use all of this in same script :)
<?phpb
//include only that one, rest required files will be included from it
include "qrlib.php"
//write code into file, Error corection lecer is lowest, L (one form: L,M,Q,H)
//each code square will be 4x4 pixels (4x zoom)
//code will have 2 code squares white boundary around
QRcode::png('PHP QR Code :)', 'test.png', 'L', 4, 2);
//same as above but outputs file directly into browser (with appr. header etc.)
//all other settings are default
//WARNING! it should be FIRST and ONLY output generated by script, otherwise
//rest of output will land inside PNG binary, breaking it for sure
QRcode::png('PHP QR Code :)');
//show benchmark
QRtools::timeBenchmark();
//rebuild cache
QRtools::buildCache();
//code generated in text mode - as a binary table
//then displayed out as HTML using Unicode block building chars :)
$tab = $qr->encode('PHP QR Code :)');
QRspec::debug($tab, true);
== TCPDF INTEGRATION ==
Inside bindings/tcpdf you will find slightly modified 2dbarcodes.php.
Instal phpqrcode liblaty inside tcpdf folder, then overwrite (or merge)
2dbarcodes.php
Then use similar as example #50 from TCPDF examples:
<?php
$style = array(
'border' => true,
'padding' => 4,
'fgcolor' => array(0,0,0),
'bgcolor' => false, //array(255,255,255)
);
//code name: QR, specify error correction level after semicolon (L,M,Q,H)
$pdf->write2DBarcode('PHP QR Code :)', 'QR,L', '', '', 30, 30, $style, 'N');

View File

@ -1,165 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@ -1,45 +0,0 @@
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
== LICENSING ==
Copyright (C) 2010 by Dominik Dzienia
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
for more details.
You should have received a copy of the GNU Lesser General Public License along
with this library; if not, write to the Free Software Foundation, Inc., 51
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
== INSTALATION AND USAGE ==
* INSTALL file
* http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
== CONTACT ==
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
folowing project pages:
* http://sourceforge.net/projects/phpqrcode/
* http://phpqrcode.sourceforge.net/
== ACKNOWLEDGMENTS ==
Based on C libqrencode library (ver. 3.1.1)
Copyright (C) 2006-2010 by Kentaro Fukuchi
http://megaui.net/fukuchi/works/qrencode/index.en.html
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
countries.
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q

View File

@ -1,2 +0,0 @@
1.1.4
2010100721

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +0,0 @@
<EFBFBD><EFBFBD>Á À E9³u<06><>`³"PÅ„CÛ牗T!0$
E•ɲQ™<EFBFBD>Ém½úhÛ¾9{kI" 9Ln)Ap¤åÖ¾Ë>ß^‡Õz³mënÅ´mßn†ú¦Ë

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

View File

@ -1 +0,0 @@
xÚí™A E]sëIX´;¸Ün6€È`q”êêW6ñ奚`Œ%A/3!¢°‚¢Š!gÈÌ¡1N) éE¢Ï|;®—>6â¸<C3A2>Þ97$ëÄôëc]kkö<6B>wé1Öü[·m­CÍœcÊRºÄê¹>¦èµ¾šE,•hʼnp„#áxF<1C>yWÏÇVWGçòÕ3¼Õ+шþàË“úSŽâ}Äž<C384>#áG8b^c^cÏÀŽp„c&3YQ"ñŽ÷çÌvµù…ñàÎþþ¼¹kÞ9ŠÜ‡÷}”¹³ï×ú ¢Ä¿<C384>QäÿL—/ÝÔÀÏ

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

View File

@ -1,2 +0,0 @@
xÚí™A
ƒ0E]çÖ…,2;sƒä&ÉÍšh¥ÛêO¡ôÝÈàã1&09OIv@DDÒ Ì&§Ù‰K<E280B0>XÈÕFv•<Ádqò9Ö<%h•¹ Yïs !(d¥²ës;~||b(ÏøYůg#µ`œK ±S¼Åô¹Ä¶˜ùsàidß<64>Lg:Ó™Îtþ/gmª<6D>™ƒkÅMâ3³{­4rTÈQýÿe¥·s·>ó<Ó™Ît¦3<C2A6>éÌ;ïH¼#Ñ™Ît¦3<C2A6>ÍYœ+og©hù¶óµÙ½¬lnðûF>Øi^»#awm;gè~pÛgìNs{6z»ãºïÞäp¾Ê'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

View File

@ -1,3 +0,0 @@
xÚíšA
Ä E»öÖ.ĚNo Ť¶iiRÚN2áW%đxÁ@ÚÚśę'­
u<EFBFBD>6×ę<EFBFBD>.ť*S;}<7D>«ŇĂ ĎT účĚztąď%ç,ŇĹÚâÎ}ç;“âç)ąź<C485>âÝZÚîLĺčą÷¬Pçç$Ż×÷ĎqËgśLÂôdJ‡;Üáw¸Ăý.]z#źľ«[Íť˝ďOg­Ćô"ĐË áBíî¦}Ç}‡;Üáw¸Ăî<>#1GbŽ„;Üáw¸Ăý_ÝC+w˘@Dfî÷ďç™uťř2™ĹÚÉNţű9R7|pWßkďű®ż“ßßkşöżşú»ĽÎÓ

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

View File

@ -1 +0,0 @@
xÚÍÍ À F{vë&  à&°Y+?Z1öÐSŸ'y!¢ŸÌÁa<C381>815&£•Û´ŽÙHå£Ùžc³•l«ÏFÆè1º#é6 fÊÖü©§6Äø•O7ˆ¨†C¦«ðÖ<C3B0>ž<EFBFBD>Ï8gI®ÏöfB¦ÃÄÿæ\DÔ»(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

View File

@ -1 +0,0 @@
xÚíšA E]sëIX´Ün6Up<13>“в™ÿ]Ù˜þ< i-eWö˜)×äÅ•¼ÉÂ…H\jvqÙHL\6šÝÐ…rI¢LܹÜÕ%ÅÓ@´þ±V—vÆÂúý¤(ÏP4|ÎXnÒgÉ<>ß¼~]D¾ÉÕ×u1Us S\À°€,ÿÅ2Þ¢N§Ã?DKºüF-:“eJ]p_À°€,˜a0Ã`†ÁÝ °`†Á ƒw,` X´]˜ˆ¹˜°5 ‰®Y4{屿ñ2íûåvçJs†±Ûí9±˜í)õu±Û¹êÏØ,«]¸“‹Ù^_§7$ƒ_Í

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 B

View File

@ -1,3 +0,0 @@
xÚíšA
„0 E]{ë<>.]{{{³©Z¥BepÆÞwe@<1F>VERZ3»Á"*2o€4¦y‰)i#dÒbdFÒ…´ŒI"ú‘—4ž½W­IíuŠÓ45ßx«.Z­SÙ{ÁŸ¯8åËÿk={o.±qÊÙ£[œÍ:å¸q»õƒy
)t#á„N8ádCj<43>-O<>OG}¼:/Ÿ:s<>z!Å)^<ùe½·S·uâ{ 'œp 'ú=ú=ú=¾'œp 'œp¢ß£ß£ßã<1F>N8á„Óÿ9©ªˆôpQQõ]HÔpz¾<7A>ØGœ^æ½Qº˜I|¾ß³<C39F>u;9™ÎïÕëd;“X~$ËÙÑÉt¶ÊÛédy

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

View File

@ -1,3 +0,0 @@
xÚíšA
à E³öÖfo U<E280BA>) %M!ΔÂûYu(<šð“sK²“TœÓ
É&§IÚ\i+¥Ðª™(m®´FQ¡¹¯h±æöüèv~n1„oÏ]sëçÖï¤_ÞŸÊ3`î_w2õȹ•lc[¼•;·Ûc֟ˤNóª4Üpà 7ÜpÃímTÿ¸œÝêrÞiñä_ƒç¿pS=7Þ7Üpà 7ÜpÃ<70>>IŸ¤Oò-Á 7Üpà 7ú$}>É·7Üpà ·tss‰Órs §åVÍÎÜÆ÷mýï¡Ò¹ò‡<C3B2>Þñ}R~7ôà&¾÷º?7ù<37>Þý<C39E>Ô¦Iïbhâ{æ»<ÀMi-

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

View File

@ -1 +0,0 @@
νAƒ E»φΦMX0;Έ<>άnVP4ΪHSS»xίU3±/O΄ύ LiJ4<4A><34>±Vβ JC<4A>%ύ‰6VR&ΓήDB<E28098>HjDωJΟ??™―κBl­cΗ±ρ½§'σU­λXοUοή<CEBF>0ζΓywΝΔ―χj¬ιλ<CEB9>³€3ΕΎλ<CE8E>cj†ω£{¨¥½:GG<1C>έρψ<CF81>ϋΪ°N†v;Ή¶η¬“J ‡ΔΠ<ϋ‡Ι]<5D>κλΘσ<CE98>#<23><38>#<23>8βH'§“ΣΙωΝΑGGιδtr:9Ο#<23><38>#<23>8βΨ“h­<68>―NΤt”<74>΄Φ_έΨ>tΉeλμS­―¦ζ<C2A6>ω^<5E>\g―υΞQe?ωvΜoοΥ;<3B>ο<>*οwlςΧmΡ

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

View File

@ -1,3 +0,0 @@
xÚíÛA
à …á¬së™]rƒx½Y51mMÈBG
ÿ¸*Sx|Ua5ƵZ—Š„-,Ž1ä²HÑPÒRjšX5§®i†©áG©>W¥ŽžRïöÕ/Ëâ+uT廯å Ïӯ嗴ªuæÏ¥Ú[Sía£[kví÷5•+5n§Á´JêÜ%+V¬X±bÅŠõ߬u'Á<07>±þÔû SRýå÷štzZ»ì+÷+V¬X±bÅŠ•ٟٟٟûŠ+V¬X±bÅÊìÏìÏìÏ}ÅŠ+V¬X±ö±ª¤¥ÖVI©¢ÖÖ+k«qÿ[úËtŽ·oVZÍþvoNV³wÇ}µ{³r<ýR­Þ"<22>RÍÞ]ê W«r}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

View File

@ -1,2 +0,0 @@
xÚíA
à E³öÖ…,t§7ˆU<E280BA> E)i7ï»*~cÃüÅÄXÖEBÆè°FC˜³6¡:&çL,å¬Mv.ŽÂÎæKgŸÕ¸ãYMç>ŸÎí>ûmÛš·?ª•vô¹¾mg?<3F>ßÒ±Îþ³æÎ·ªd˜¹U¦ÏIk•ÚÚE\ÕÙMs†f˜a†f˜a>œ[sÓˆ9쬩ެ8bö<kÕÙ7œ}ç†k³™§õ™ÿ3Ì0à 3Ì0à 3Ìä*r¹Š\Å7 f˜a†f˜a†fr¹Š\Å7 f˜a†f˜a†YÆÙ<18>Î æd4ƒ9kíÆÌÔÝyûX y‰gŒØÙ)«dw<64>nÌ¢ûU×>Ëî”]ßöLgÉÝÁ³è¾äEo w1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

View File

@ -1,2 +0,0 @@
xÚíÜA<0E> …a×Ţş ‹™ťÜ@n7+*¶šÖÚ4!Í?®Jšđň ł<>”抮«]Ş—ÉSźâTf)ŮsŠIÂ"…Č”bžÝ0…Š|•"Luٸî,Ž×EÇ1\6®*ĎuQŢ?Ľ>aĚĎ…ăţńŽÄRő-r­“÷n.ďꯋ\®Tżü:Ó*)|)°Ŕ ,°Ŕ ,ţŃâęóĺéx_ă¬}:^R„<52>Uoɢ‰uÁ~ÁމX`<60>XĐŹĐŹĐŹĐŹ°_`<60>X`<60>XĐŹĐŹĐŹ°_`<60>X`<60>XĐŹĐŹĐŹĐŹ°wb<77>X`<60>żĄPUőö)DÔŢ"cČ{zçÎő3ęé<}¸óˇ^?b÷m˙ÎÂěž<C49B>íş°»óaűŽ´Âę.<2E>]
ł{Q6uáT,9

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

View File

@ -1 +0,0 @@
xÚí“Á À E{vë&  à&°Y+¢b¤öÐkŸ'yù¤¿ÌÁa :äÀTXl<58>Þ¶$W+Ó<>vû®îœ¢9}gRæ¬@H0YPB½ÆÃEmÚÚ?ûœÍ±ísœÖ"bµìt2cnÖé†É:½ﺭë;¿Y§“ÃzÿQã«7¿Ô

Some files were not shown because too many files have changed in this diff Show More