From: Peter L. <pal...@gm...> - 2010-10-22 04:19:27
|
Hi All, I have committed some changes to the Zimbra branch revision 155. These changes allow a user to submit timesheet records and for a supervisor to approve or reject the submissions. Changed css/timesheet.css - added two new styles to change character colours depending on status install/timesheet.sql - add a few fields for supervisor and timesheet status common.inc - add some new functions for drop-down lists. modify function split_data_into_discrete_days to correctly record end_stamp daily.php - add extra column to display task description, plus remove row actions if the task has been submitted or approved report_user - add status field simple.php, simple_action.php - add copy previous tasks button, and disable submitted or approved tasks task_add_std.php - add standard tasks timesheet_menu.inc - add standard tasks, supervisor and timesheet submission user_maint.php, user_action.php - add support for a supervisor, employee type, and charge-in rate weekly.php - changed the colour of times listed to show submitted (orange) or approved (green) New submit.php - allows a user to submit times for approval submit_action.php supervisor.php - allows a supervisor to approve or reject submitted times supervisor.action.php Peter |