Commit 540ef431 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Remove the delete icon from the index page.

Deleting this timesheet has to be done from the timesheet details page itself.
parent 4abafdd1
...@@ -173,12 +173,12 @@ function timesheets($type) ...@@ -173,12 +173,12 @@ function timesheets($type)
echo dPformSafe("Approved"); echo dPformSafe("Approved");
echo "</td>"; echo "</td>";
echo "<td nowrap=\"nowrap\" width=\"20\">"; echo "<td nowrap=\"nowrap\" width=\"20\">";
if ($canDelete) { /* if ($canDelete) {
// call the edit site with the unique id of the timesheet item // call the edit site with the unique id of the timesheet item
echo "\n".'<a href="?m=timesheet&a=addedit&timesheet_id=' . $row["timesheet_id"] . '">'; echo "\n".'<a href="?m=timesheet&a=addedit&timesheet_id=' . $row["timesheet_id"] . '">';
echo dPshowImage( './images/icons/stock_delete-16.png', '16', '16' ); echo dPshowImage( './images/icons/stock_delete-16.png', '16', '16' );
echo "\n</a>"; echo "\n</a>";
} }*/
echo "</td>"; echo "</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