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');
$isRH = ($avenant['ajoutClient'] == '1');
$idAvenant = $avenant['idAvenant'];
$isNotify = ($avenant['notificationRhEnvoye']== '1');
$isNotify = ($avenant['notificationRhEnvoye'] == '1');
?>
<tr>
<td class="text-center fw-bold ps-3 text-secondary">
@ -74,9 +74,9 @@
<td class="text-center">
<?php if($isRH): ?>
<?php if($isRH): ?>
<span
<i class="fas fa-bell me-1"></i> <?= _("Déja Notifier") ?>
<?php if($isNotify): ?>
<span class="text-success small fw-bold">
<i class="fas fa-check-double me-1"></i> <?= _("Déjà Notifié") ?>
</span>
<?php else: ?>
<button type="button"
@ -89,7 +89,6 @@
<span class="text-muted opacity-50 small">-</span>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
@ -103,11 +102,11 @@
// Préparation du titre
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 =
"\n<?= _('Souscripteur').' : '.$_SESSION['nomClient_C'] ?>\n" +
"<?= _('Souscripteur').' : '.$_SESSION['nomClient_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
appliquerDataTable('.tabliste', {}, titre, infosComplementaires);