Commit b24e9c33 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Put the summary on the right place.

parent 1bac95f4
...@@ -332,6 +332,7 @@ function showproject() ...@@ -332,6 +332,7 @@ function showproject()
} }
} }
} }
$timesheet_worked = $timesheet_worked + $amount;
if( $amount > 0 ) if( $amount > 0 )
{ {
echo '<tr>'; echo '<tr>';
...@@ -340,7 +341,6 @@ function showproject() ...@@ -340,7 +341,6 @@ function showproject()
echo '</td>'; echo '</td>';
echo '<td>'; echo '<td>';
echo $amount; echo $amount;
$timesheet_worked = $timesheet_worked + $amount;
echo '</td>'; echo '</td>';
echo '<td>' . $project_types[$row['project_status']] . '</td>'; echo '<td>' . $project_types[$row['project_status']] . '</td>';
echo '</tr>'; echo '</tr>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment