Amlioration prsentation statut d'envoi de chaque destinataire

This commit is contained in:
Laurent Destailleur 2006-11-02 01:59:17 +00:00
parent f43eeeb9c0
commit 6c511082f8

View File

@ -311,7 +311,7 @@ if ($mil->fetch($_REQUEST["id"]) >= 0)
print '<td align="center">&nbsp;</td>';
// Date
if ($mil->statut == 0)
if ($mil->statut < 2)
{
print '<td>&nbsp;</td>';
}
@ -359,7 +359,7 @@ if ($mil->fetch($_REQUEST["id"]) >= 0)
print '<td>'.$obj->url.'</td>';
// Statut pour l'email destinataire (Attentioon != statut du mailing)
if ($mil->statut == 0)
if ($obj->statut == 0)
{
print '<td align="center">&nbsp;</td>';
print '<td align="right">'.$langs->trans("MailingStatusNotSent").' <a href="cibles.php?action=delete&id='.$mil->id.'&rowid='.$obj->rowid.'">'.img_delete($langs->trans("RemoveRecipient")).'</td>';