forked from Wavyzz/dolibarr
Added task list status filter. Cleaned code.
This commit is contained in:
@@ -870,6 +870,13 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
// Status
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.fk_statut']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print $taskstatic->getLibStatut(4);
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
if ($showbilltime) {
|
||||
// Time not billed
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.tobill']['checked'])) {
|
||||
@@ -955,13 +962,6 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
// Status
|
||||
if (count($arrayfields) > 0 && !empty($arrayfields['t.fk_statut']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print $taskstatic->getLibStatut(4);
|
||||
print '</td>';
|
||||
}
|
||||
|
||||
// Extra fields
|
||||
$extrafieldsobjectkey = $taskstatic->table_element;
|
||||
$extrafieldsobjectprefix = 'efpt.';
|
||||
|
||||
Reference in New Issue
Block a user