This commit is contained in:
KONE SOREL 2026-03-28 17:54:33 +00:00
parent 44757f35f7
commit bbb9307603

View File

@ -34,7 +34,7 @@
$isFacture = ($avenant['facture'] == '1'); $isFacture = ($avenant['facture'] == '1');
$isRH = ($avenant['ajoutClient'] == '1'); $isRH = ($avenant['ajoutClient'] == '1');
$idAvenant = $avenant['idAvenant']; $idAvenant = $avenant['idAvenant'];
$isNotify = ($avenant['notificationRhEnvoye']== '1'); $isNotify = ($avenant['notificationRhEnvoye'] == '1');
?> ?>
<tr> <tr>
<td class="text-center fw-bold ps-3 text-secondary"> <td class="text-center fw-bold ps-3 text-secondary">
@ -74,9 +74,9 @@
<td class="text-center"> <td class="text-center">
<?php if($isRH): ?> <?php if($isRH): ?>
<?php if($isRH): ?> <?php if($isNotify): ?>
<span <span class="text-success small fw-bold">
<i class="fas fa-bell me-1"></i> <?= _("Déja Notifier") ?> <i class="fas fa-check-double me-1"></i> <?= _("Déjà Notifié") ?>
</span> </span>
<?php else: ?> <?php else: ?>
<button type="button" <button type="button"
@ -89,7 +89,6 @@
<span class="text-muted opacity-50 small">-</span> <span class="text-muted opacity-50 small">-</span>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
@ -103,11 +102,11 @@
// Préparation du titre // Préparation du titre
const titre = "<?= mb_strtoupper($titre, 'UTF-8'); ?>"; const titre = "<?= mb_strtoupper($titre, 'UTF-8'); ?>";
// Préparation du bloc d'informations (Le \n sert pour le retour à la ligne dans Excel/PDF) // Préparation du bloc d'informations
const infosComplementaires = const infosComplementaires =
"\n<?= _('Souscripteur').' : '.$_SESSION['nomClient_C'] ?>\n" + "<?= _('Souscripteur').' : '.$_SESSION['nomClient_C'] ?>\n" +
"<?= _('Numéro Police').' : '.$_SESSION['numeroPolice_C'] ?>\n" + "<?= _('Numéro Police').' : '.$_SESSION['numeroPolice_C'] ?>\n" +
"<?= _('Période couverte').' : '.dateLang($sppoliceentete['dateEffet'], $_SESSION['lang']) ?> <?= _('au') ?> <?= dateLang($sppoliceentete['dateEcheance'], $_SESSION['lang']) ?>\n"; "<?= _('Période couverte').' : '.dateLang($sppoliceentete['dateEffet'], $_SESSION['lang']) ?> <?= _('au') ?> <?= dateLang($sppoliceentete['dateEcheance'], $_SESSION['lang']) ?>";
// Appel de la fonction // Appel de la fonction
appliquerDataTable('.tabliste', {}, titre, infosComplementaires); appliquerDataTable('.tabliste', {}, titre, infosComplementaires);