Ajout picto retar sur fiche action
This commit is contained in:
parent
296f0fbadb
commit
2376a5fcec
@ -630,6 +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"));
|
||||
print '</td></tr>';
|
||||
|
||||
// Date done
|
||||
@ -709,8 +710,11 @@ if ($_GET["id"])
|
||||
print $langs->trans("FeatureNotYetSupported");
|
||||
print '</td></tr>';
|
||||
|
||||
// Date debut
|
||||
print '<tr><td>'.$langs->trans("DateActionPlanned").'</td><td colspan="3">'.dolibarr_print_date($act->datep,'%d %B %Y %H:%M').'</td></tr>';
|
||||
// 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"));
|
||||
print '</td></tr>';
|
||||
|
||||
// Date fin real
|
||||
print '<tr><td>'.$langs->trans("DateActionDone").'</td><td colspan="3">'.dolibarr_print_date($act->date,'%d %B %Y %H:%M').'</td></tr>';
|
||||
|
||||
@ -98,6 +98,7 @@ class box_actions extends ModeleBoxes {
|
||||
|
||||
|
||||
$this->info_box_contents[$i][0] = array('align' => 'left',
|
||||
'nowrap' => 1,
|
||||
'logo' => ("task"),
|
||||
'text' => $objp->label,
|
||||
'text2'=> $late,
|
||||
|
||||
@ -98,6 +98,7 @@ class ModeleBoxes
|
||||
{
|
||||
$tdparam="";
|
||||
if (isset($contents[$i][$j]['align'])) $tdparam.=' align="'. $contents[$i][$j]['align'].'"';
|
||||
if (isset($contents[$i][$j]['nowrap'])) $tdparam.=' nowrap="'. $contents[$i][$j]['align'].'"';
|
||||
if (isset($contents[$i][$j]['width'])) $tdparam.=' width="'. $contents[$i][$j]['width'].'"';
|
||||
if (isset($contents[$i][$j]['colspan'])) $tdparam.=' colspan="'. $contents[$i][$j]['colspan'].'"';
|
||||
if (isset($contents[$i][$j]['class'])) $tdparam.=' class="'. $contents[$i][$j]['class'].'"';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user