This commit is contained in:
KONE SOREL 2026-03-23 13:42:32 +00:00
parent e670b2a224
commit f85de29429
2 changed files with 82 additions and 1 deletions

View File

@ -0,0 +1,72 @@
<div id="div_ged" class="card border-0 shadow-sm mt-3">
<?php if((isset($msgErreur)) && ($msgErreur > " ")) : ?>
<div class="alert alert-danger m-3 text-center shadow-sm">
<i class="fas fa-exclamation-triangle me-2"></i>
<strong><?= $msgErreur ?></strong>
</div>
<?php endif; ?>
<div class="table-responsive">
<table id="table_ged_adherent" class="table table-hover align-middle mb-0" style="font-size:8.5pt;">
<thead class="table-dark">
<tr>
<th class="text-center">Date</th>
<th class="text-center">Src</th>
<th><?= _("Souscripteur / Police") ?></th>
<th><?= _("Prestataire") ?></th>
<th><?= _("Bénéficiaire (Adhérent)") ?></th>
<th><?= _("Document") ?></th>
<th class="text-center"><?= _("Action") ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($geds as $ged):
$idGed = $this->nettoyer($ged['idGed']);
$cheminFichier = $this->nettoyer($ged['cheminFichier']);
?>
<tr class="text-nowrap">
<td class="text-center text-muted small">
<i class="far fa-clock me-1"></i><?= dateheureLang($this->nettoyer($ged['dateSysteme'])) ?>
</td>
<td class="text-center">
<span class="badge bg-light text-dark border fw-normal"><?= $this->nettoyer($ged['source']) ?></span>
</td>
<td>
<div class="fw-bold text-dark text-truncate" style="max-width: 150px;" title="<?= $this->nettoyer($ged['souscripteur']) ?>">
<?= $this->nettoyer($ged['souscripteur']) ?>
</div>
<div class="small text-primary fw-bold"> <?= $this->nettoyer($ged['numeroPolice']) ?></div>
</td>
<td class="small text-muted text-truncate" style="max-width: 150px;"><?= $this->nettoyer($ged['prestataire']) ?></td>
<td>
<div class="fw-bold"><?= $this->nettoyer($ged['beneficiaire']) ?></div>
<div class="small text-muted italic">
<?= $this->nettoyer($ged['adherent']) ?> (<?= $this->nettoyer($ged['numeroBeneficiaire']) ?>)
</div>
</td>
<td class="small">
<i class="far fa-file-pdf text-danger me-1"></i>
<span class="text-truncate d-inline-block" style="max-width: 180px;" title="<?= $this->nettoyer($ged['nomOrigine']) ?>">
<?= $this->nettoyer($ged['nomOrigine']) ?>
</span>
</td>
<td class="text-center">
<a href="<?= $cheminFichier ?>" target="_blank"
class="btn btn-sm btn-outline-danger shadow-sm px-3 fw-bold"
style="font-size: 7.5pt;">
<i class="fas fa-download me-1"></i><?= _("OUVRIR") ?>
</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>

View File

@ -1,6 +1,15 @@
<?php $this->titre = "INTER-SANTE - GED Famille"; ?>
<div class="container-fluid py-3">
<div id="div_adherent" class="container-fluid py-1 animate__animated animate__fadeIn">
<h1 class="text-primary"><i class="fas fa-file-user me-2"></i><?= _('G E D adhérent') ?></h1>
<div class="card-header d-flex justify-content-between align-items-center py-1">
<h5 class="mb-0 fw-bold">
<?= _("POLICE") ?> : <span class="text-secondary"><?= $this->nettoyer($_SESSION['numeroPolice_C']) ?></span>
<span class="ms-3 badge bg-primary text-light small fw-normal">ID: <?= $this->nettoyer($_SESSION['idPolice_C']) ?></span>
</h5>
</div>
<div class="alert alert-warning border-0 shadow-sm d-flex align-items-center mb-4">
<i class="fas fa-exclamation-circle fs-4 me-3"></i>
<div>