This commit is contained in:
KONE SOREL 2026-03-24 16:18:49 +00:00
parent 0e0d6b083e
commit 75a0fe1c40

View File

@ -1,66 +1,45 @@
<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 id="div_ged" class="card border-0 shadow-sm">
<?php if((isset($msgErreur)) && ($msgErreur > " ")) : ?>
<div class="alert alert-danger m-3 border-0 shadow-xs"><?= $msgErreur ?></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">
<table id="table_ged_famille" class="table table-hover align-middle mb-0" style="font-size:8.5pt; width:100%;">
<thead class="table-dark text-nowrap">
<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>
<th><?= _("Bénéficiaire (Adhérent)") ?></th>
<th><?= _("Type du Document") ?></th>
<th><?= _("Nom du Document") ?></th>
<th class="text-center no-export"><?= _("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 class="text-center small text-muted"><?= dateheureLang($this->nettoyer($ged['dateSysteme'])) ?></td>
<td class="text-center"><span class="badge bg-light text-dark border small 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>
<div class="fw-bold"><?= $this->nettoyer($ged['souscripteur']) ?></div>
<div class="small text-primary"> <?= $this->nettoyer($ged['numeroPolice']) ?></div>
</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>
<div class="small text-muted italic"><?= $this->nettoyer($ged['adherent']) ?></div>
</td>
<td class="small"><?= $this->nettoyer($ged['libelleDocument']) ?></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 class="small text-truncate" style="max-width: 200px;" title="<?= $this->nettoyer($ged['nomOrigine']) ?>">
<i class="far fa-file-alt me-1 text-secondary"></i> <?= $this->nettoyer($ged['nomOrigine']) ?>
</td>
<td class="text-center">
<a href="<?= $cheminFichier ?>" target="_blank"
class="btn btn-sm btn-outline-danger shadow-sm px-3 fw-bold">
<i class="fas fa-download me-1"></i> <?= _("Télécharger") ?>
<a class="btn btn-xs btn-outline-danger shadow-sm fw-bold px-3" href="<?= $cheminFichier ?>" target="_blank">
<i class="fas fa-download me-1"></i> <?= _("Télécharger") ?>
</a>
</td>
</tr>