FIX display project tasks list columns (#24557)
* fix: display columns * fix fix * fix: IDE
This commit is contained in:
parent
b080c2699b
commit
b307ecea40
1 changed files with 11 additions and 5 deletions
|
|
@ -913,21 +913,24 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
|
|||
if ($showproject) {
|
||||
print '<td></td><td></td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.label']['checked'])) {
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.label']['checked'])) {
|
||||
print '<td></td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.dateo']['checked'])) {
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.description']['checked'])) {
|
||||
print '<td></td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.datee']['checked'])) {
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.dateo']['checked'])) {
|
||||
print '<td></td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.planned_workload']['checked'])) {
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.datee']['checked'])) {
|
||||
print '<td></td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.planned_workload']['checked'])) {
|
||||
print '<td class="nowrap liste_total right">';
|
||||
print convertSecondToTime($total_projectlinesa_planned, 'allhourmin');
|
||||
print '</td>';
|
||||
}
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.duration_effective']['checked'])) {
|
||||
if (count($arrayfields) > 0 && ! empty($arrayfields['t.duration_effective']['checked'])) {
|
||||
print '<td class="nowrap liste_total right">';
|
||||
if ($projectidfortotallink > 0) {
|
||||
print '<a href="'.DOL_URL_ROOT.'/projet/tasks/time.php?projectid='.$projectidfortotallink.($showproject ? '' : '&withproject=1').'">';
|
||||
|
|
@ -1021,6 +1024,9 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
|
|||
if (count($arrayfields) > 0 && !empty($arrayfields['c.assigned']['checked'])) {
|
||||
print '<td></td>';
|
||||
}
|
||||
if (! empty($totalarray['nbfield'])) {
|
||||
print '<td colspan="'.$totalarray['nbfield'].'" class=""></td>';
|
||||
}
|
||||
print '<td class=""></td>';
|
||||
print '</tr>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue