mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix: Warning sur retard action alors que action close
This commit is contained in:
@@ -630,7 +630,7 @@ if ($_GET["id"])
|
||||
// Date planification
|
||||
print '<tr><td>'.$langs->trans("DateActionPlanned").'</td><td colspan="3">';
|
||||
$html->select_date(($act->datep?$act->datep:-1),'ap',1,1,1,"action");
|
||||
if ($act->datep < (time() - $conf->global->MAIN_DELAY_ACTIONS_TODO)) print img_warning($langs->trans("Late"));
|
||||
if ($act->percent < 100 && $act->datep < (time() - $conf->global->MAIN_DELAY_ACTIONS_TODO)) print img_warning($langs->trans("Late"));
|
||||
print '</td></tr>';
|
||||
|
||||
// Date done
|
||||
@@ -713,7 +713,7 @@ if ($_GET["id"])
|
||||
// Date planification
|
||||
print '<tr><td>'.$langs->trans("DateActionPlanned").'</td><td colspan="3">';
|
||||
print dolibarr_print_date($act->datep,'%d %B %Y %H:%M');
|
||||
if ($act->datep < (time() - $conf->global->MAIN_DELAY_ACTIONS_TODO)) print img_warning($langs->trans("Late"));
|
||||
if ($act->percent < 100 && $act->datep < (time() - $conf->global->MAIN_DELAY_ACTIONS_TODO)) print img_warning($langs->trans("Late"));
|
||||
print '</td></tr>';
|
||||
|
||||
// Date fin real
|
||||
|
||||
Reference in New Issue
Block a user