This commit is contained in:
KONE SOREL 2026-01-06 13:57:07 +00:00
parent fc906a6111
commit 610816c599

View File

@ -1,39 +1,42 @@
<div id="div_ged">
<?php if((isset($msgErreur)) && ($msgErreur>" ")) : ?>
<INPUT style='font-size:14pt; color:red; text-align:center;' class="form-control" type="text" value="<?= $msgErreur ?>" readonly >
<?php endif; ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th style='text-align:center'> Date </th>
<th style='text-align:center'> Src </th>
<th> <?= _("Souscripteur") ?> </th>
<th style='text-align:center'> <?= _("Police") ?> </th>
<th> <?= _("Prestataire") ?> </th>
<th> <?= _("Adhérent") ?> </th>
<th style='text-align:center' colspan="2"> <?= _("Bénéficiaire") ?> </th>
<th> Document </th>
<th style='text-align:center'> <?= _("Télécharger") ?> </th>
<div id="div_ged" class="table-responsive">
<table class="table table-hover align-middle mb-0" style="font-size:0.85rem;">
<thead class="bg-light text-muted">
<tr>
<th class="ps-3"><?= _("Date") ?></th>
<th><?= _("Source") ?></th>
<th><?= _("Police / Bénéficiaire") ?></th>
<th><?= _("Document") ?></th>
<th class="text-center pe-3"><?= _("Action") ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($geds as $ged):
$idGed=$this->nettoyer($ged['idGed']);
<?php foreach ($geds as $ged):
$cheminFichier = $this->nettoyer($ged['cheminFichier']);
?>
<tr valign="top">
<td align='center'><?= dateheureLang($this->nettoyer($ged['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ged['source']) ?></td>
<td><?= $this->nettoyer($ged['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($ged['numeroPolice']) ?></td>
<td><?= $this->nettoyer($ged['prestataire']) ?></td>
<td><?= $this->nettoyer($ged['adherent']) ?></td>
<td align='center'><?= $this->nettoyer($ged['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($ged['beneficiaire']) ?></td>
<td><?= $this->nettoyer($ged['nomOrigine']) ?></td>
<td align="center">
<a style="font-size:8pt;" href="<?= $cheminFichier ?>" target="_blank" > <?= _("Télécharger") ?> </a>
<tr>
<td class="ps-3">
<div class="fw-bold"><?= dateheureLang($this->nettoyer($ged['dateSysteme'])) ?></div>
<div class="text-muted x-small"><?= $this->nettoyer($ged['souscripteur']) ?></div>
</td>
<td>
<span class="badge bg-secondary-subtle text-secondary"><?= $this->nettoyer($ged['source']) ?></span>
</td>
<td>
<div class="small"><i class="fas fa-file-contract me-1 opacity-50"></i> <?= $this->nettoyer($ged['numeroPolice']) ?></div>
<div class="fw-bold text-primary">
<?= $this->nettoyer($ged['numeroBeneficiaire']) ?> - <?= $this->nettoyer($ged['beneficiaire']) ?>
</div>
<div class="x-small text-muted italic"><?= $this->nettoyer($ged['adherent']) ?></div>
</td>
<td>
<div class="text-truncate" style="max-width: 200px;" title="<?= $this->nettoyer($ged['nomOrigine']) ?>">
<i class="far fa-file-pdf text-danger me-1"></i> <?= $this->nettoyer($ged['nomOrigine']) ?>
</div>
</td>
<td class="text-center pe-3">
<a href="<?= $cheminFichier ?>" target="_blank" class="btn btn-sm btn-outline-primary rounded-pill px-3">
<i class="fas fa-download me-1"></i> <?= _("Ouvrir") ?>
</a>
</td>
</tr>
<?php endforeach; ?>