echo '<th></th>'; echo '<th></th>'; echo '<th>email</th>'; echo '<th>statut</th>'; echo '<th>date d\'envoi</th>'; echo '<th>traitement</th>'; echo '</tr>'; foreach($notif_mail_fini_col as $notif) { echo '<tr>'; echo '<td><a href="visu_notification.php?id_notification='.$notif->getId().'">'.$notif->getId().'</a></td>'; echo '<td>'; if ($notif->getStatutEnvoi() == AbsenceEleveNotificationPeer::STATUT_ENVOI_SUCCES || $notif->getStatutEnvoi() == AbsenceEleveNotificationPeer::STATUT_ENVOI_SUCCES_AVEC_ACCUSE_DE_RECEPTION) { echo '<div style="color : green;">envoi réussi</div>'; } else { echo '<div style="color : red;">Erreur : '.$notif->getErreurMessageEnvoi().'</div>'; } echo '</td>'; echo '<td>'; echo ' <a href="generer_notifications_par_lot.php?retirer_id_notification='.$notif->getId().'">Retirer du lot</a>'; echo '</td>'; echo '<td>'.$notif->getEmail().'</td>'; echo '<td>Statut '.$notif->getStatutEnvoi().'</td>'; echo '<td>'.$notif->getDateEnvoi('d/m/Y H:i').'</td>'; echo '<td>Traitement '.$notif->getAbsenceEleveTraitement()->getDescription().'</td>'; echo '</tr>'; } echo '</table></br>'; echo '<br/><br/>'; } if (!$notif_mail_a_envoyer_col->isEmpty()) {$notif = new AbsenceEleveNotification();