Commit 4d3143d3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Replace tabs by spaces

parent 1e681afe
......@@ -122,19 +122,18 @@ while ( $row = $q->fetchRow()) {
if ("$obj->timesheet_creator" == "") {
$submitter = $users[$AppUI->user_id];
$obj->timesheet_creator = $AppUI->user_id;
}
else
} else {
$submitter = $users[$obj->timesheet_creator];
}
$q->Clear();
// Get the current timesheet period
if (intval($obj->timesheet_period)) {
$period = new CDate();
$period->setMonth($obj->timesheet_period);
}
else
} else {
$period = new CDate();
}
// Get the current timesheet status
if (intval($obj->timesheet_status))
......@@ -411,7 +410,6 @@ function showtimesheetproject()
echo '<tr>';
echo '<td>&nbsp;</td>';
echo '<td><a href="?m=projects&a=view&project_id=' . $project["project_id"] . '">' . $project["project_name"] . '</a>';
// echo '<td><a href="?m=projects&a=view&project_id=' . $row["timesheet_project"] . '">' . $project["project_name"] . '</a>';
echo '</td>';
echo '<td>' . $row['timesheet_project_amount'] . '</td>';
echo '<td>' . $project_types[$project['project_status']] . '</td>';
......@@ -420,9 +418,8 @@ function showtimesheetproject()
}
}
} // end of function showtimesheetproject()
?>
<?php
// Print the overview table
echo '<table width="100%" border="0" cellpadding="2" cellspacing="1" class="tbl">';
echo '<tr>';
echo '<th nowrap="nowrap">&nbsp;</th>';
......
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