Merge pull request #12521 from atm-gauthier/develop_new_nodelai_on_askpricesupplier

FIX : delay picto is currently useless because always displaied. If o…
This commit is contained in:
Laurent Destailleur 2019-11-28 12:23:56 +01:00 committed by GitHub
commit a79d1260d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,7 +642,7 @@ if ($resql)
print '</td>';
// Warning
$warnornote = '';
if ($obj->fk_statut == 1 && $db->jdate($obj->date_valid) < ($now - $conf->supplier_proposal->warning_delay)) $warnornote .= img_warning($langs->trans("Late"));
//if ($obj->fk_statut == 1 && $db->jdate($obj->date_valid) < ($now - $conf->supplier_proposal->warning_delay)) $warnornote .= img_warning($langs->trans("Late"));
if (!empty($obj->note_private))
{
$warnornote .= ($warnornote ? ' ' : '');