Fix: Warning should not appears for invoice closed
This commit is contained in:
parent
2415f085a6
commit
bb4ed2f9ab
@ -34,6 +34,7 @@ For users:
|
||||
- Fix: Change error management when adding already used supplier ref
|
||||
for a product.
|
||||
- Fix: Running sending-email.php
|
||||
- Fix: Warning should not appears for invoice closed
|
||||
|
||||
For developers:
|
||||
- Qual: Reorganize /dev directory.
|
||||
|
||||
@ -348,7 +348,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
|
||||
print $facturestatic->getNomUrl(1,'');
|
||||
print '</td>';
|
||||
print '<td width="20" class="nobordernopadding" nowrap="nowrap">';
|
||||
if (! $obj->paye && $db->jdate($obj->datelimite) < ($now - $conf->facture->client->warning_delay)) print img_warning($langs->trans("Late"));
|
||||
if ($obj->fk_statut == 1 && ! $obj->paye && $db->jdate($obj->datelimite) < ($now - $conf->facture->client->warning_delay)) print img_warning($langs->trans("Late"));
|
||||
print '</td>';
|
||||
print '<td width="16" align="right" class="nobordernopadding">';
|
||||
$filename=dol_sanitizeFileName($obj->facnumber);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user