Fix: Le warning tient compte du dlai de tolrance
This commit is contained in:
parent
bffcbc1673
commit
b15b7d791b
@ -112,7 +112,7 @@ if ($_GET["facid"])
|
||||
print '<tr><td>'.$langs->trans("Date").'</td>';
|
||||
print '<td>'.dolibarr_print_date($fac->date,"%A %d %B %Y").'</td>';
|
||||
print '<td>'.$langs->trans("DateClosing").'</td><td>' . dolibarr_print_date($fac->date_lim_reglement,"%A %d %B %Y");
|
||||
if ($fac->paye == 0 && $fac->date_lim_reglement < (time() - $warning_delay)) print img_warning($langs->trans("Late"));
|
||||
if ($fac->date_lim_reglement < (time() - $conf->facture->client->warning_delay) && ! $fac->paye && $fac->statut == 1 && ! $fac->am) print img_warning($langs->trans("Late"));
|
||||
print "</td></tr>";
|
||||
|
||||
// Conditions et modes de réglement
|
||||
|
||||
Loading…
Reference in New Issue
Block a user