• Jean-Paul Saman's avatar
    Bugfixes: · a93fa7d4
    Jean-Paul Saman authored
    - restricted timesheet_project and timesheets overview to current user only
    - stored timesheet project details when status > 0 (is status submitted=1 and approved=2)
    - fixed changing of timesheet_status and timesheet_period on 'new timesheet' action
    - fixed addedit.php to display the right timesheet status even when status > 0.
    - reworked addedit.php to put more code in functions. It uses showproject() or showtimesheetproject() function to print timesheet_project details.
    
    Todo:
    - introduce admin mode in which the admin can alter timesheets even when (status>0) and let admin see other peoples timesheet.
    a93fa7d4
addedit.php 13.8 KB