Fixed: missing css class
This commit is contained in:
parent
7a18240d2f
commit
891e39189a
@ -296,22 +296,22 @@ if ($id > 0 || ! empty($ref))
|
|||||||
print '<tr><td>'.$langs->trans("DateStart").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("DateStart").'</td><td colspan="3">';
|
||||||
print dol_print_date($object->date_start,'dayhour');
|
print dol_print_date($object->date_start,'dayhour');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Date end
|
// Date end
|
||||||
print '<tr><td>'.$langs->trans("DateEnd").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("DateEnd").'</td><td colspan="3">';
|
||||||
print dol_print_date($object->date_end,'dayhour');
|
print dol_print_date($object->date_end,'dayhour');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Planned workload
|
// Planned workload
|
||||||
print '<tr><td>'.$langs->trans("PlannedWorkload").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("PlannedWorkload").'</td><td colspan="3">';
|
||||||
print convertSecondToTime($object->planned_workload,'allhourmin');
|
print convertSecondToTime($object->planned_workload,'allhourmin');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Progress declared
|
// Progress declared
|
||||||
print '<tr><td>'.$langs->trans("ProgressDeclared").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("ProgressDeclared").'</td><td colspan="3">';
|
||||||
print $object->progress.' %';
|
print $object->progress.' %';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Progress calculated
|
// Progress calculated
|
||||||
print '<tr><td>'.$langs->trans("ProgressCalculated").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("ProgressCalculated").'</td><td colspan="3">';
|
||||||
if ($object->planned_workload)
|
if ($object->planned_workload)
|
||||||
@ -322,7 +322,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
else print '';
|
else print '';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Project
|
// Project
|
||||||
if (empty($withproject))
|
if (empty($withproject))
|
||||||
{
|
{
|
||||||
@ -400,11 +400,11 @@ if ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
// Contributor
|
// Contributor
|
||||||
print '<td class="nowrap">';
|
print '<td class="nowrap">';
|
||||||
print img_object('','user');
|
print img_object('','user','class="hideonsmartphone"');
|
||||||
$contactsoftask=$object->getListContactId('internal');
|
$contactsoftask=$object->getListContactId('internal');
|
||||||
if (count($contactsoftask)>0) {
|
if (count($contactsoftask)>0) {
|
||||||
$userid=$contactsoftask[0];
|
$userid=$contactsoftask[0];
|
||||||
$form->select_users($userid,'userid',0,'',0,'',$contactsoftask);
|
print $form->select_dolusers($userid,'userid',0,'',0,'',$contactsoftask);
|
||||||
}else {
|
}else {
|
||||||
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
|
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
|
||||||
}
|
}
|
||||||
@ -506,7 +506,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$contactsoftask[]=$task_time->fk_user;
|
$contactsoftask[]=$task_time->fk_user;
|
||||||
}
|
}
|
||||||
if (count($contactsoftask)>0) {
|
if (count($contactsoftask)>0) {
|
||||||
$form->select_users($task_time->fk_user,'userid_line',0,'',0,'',$contactsoftask);
|
print $form->select_dolusers($task_time->fk_user,'userid_line',0,'',0,'',$contactsoftask);
|
||||||
}else {
|
}else {
|
||||||
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
|
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user