Skip to content
Snippets Groups Projects
Commit e0f86f02 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Oubli sur option PROJECT_HIDE_TASKS

parent c6bfc150
No related branches found
No related tags found
No related merge requests found
...@@ -364,6 +364,7 @@ foreach ($listofreferent as $key => $value) ...@@ -364,6 +364,7 @@ foreach ($listofreferent as $key => $value)
$total_ht_by_third=0; $total_ht_by_third=0;
$total_ttc_by_third=0; $total_ttc_by_third=0;
} }
$saved_third_id = $element->thirdparty->id;
$qualifiedfortotal=true; $qualifiedfortotal=true;
if ($key == 'invoice') if ($key == 'invoice')
...@@ -449,6 +450,8 @@ foreach ($listofreferent as $key => $value) ...@@ -449,6 +450,8 @@ foreach ($listofreferent as $key => $value)
$breakline.='<td></td>'; $breakline.='<td></td>';
$breakline.='</tr>'; $breakline.='</tr>';
} }
//var_dump($element->thirdparty->name.' - '.$saved_third_id.' - '.$element->thirdparty->id);
} }
if ($breakline) print $breakline; if ($breakline) print $breakline;
......
...@@ -155,6 +155,8 @@ print "</table>"; ...@@ -155,6 +155,8 @@ print "</table>";
print '</div></div></div>'; print '</div></div></div>';
if (empty($conf->global->PROJECT_HIDE_TASKS))
{
// Tasks for all resources of all opened projects and time spent for each task/resource // Tasks for all resources of all opened projects and time spent for each task/resource
print '<div class="fichecenter">'; print '<div class="fichecenter">';
...@@ -272,7 +274,7 @@ else ...@@ -272,7 +274,7 @@ else
} }
print '</div>'; print '</div>';
}
llxFooter(); llxFooter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment