1. 07 Sep, 2008 4 commits
    • Jean-Paul Saman's avatar
    • Jean-Paul Saman's avatar
    • Jean-Paul Saman's avatar
    • Jean-Paul Saman's avatar
      Fix timesheet creation and month selection. · 99a941fd
      Jean-Paul Saman authored
      After initial creation timesheet_period can be changed. The second time it is edited this is no longer possible. Either:
      1) Fix 2nd time editing, or
      2) Make checkbox non-modifiable for 2nd time opening.
      
      BUGS:
      1) Changing from "submitted" to "open for editing" by administrator doesn't work
      2) Changing from "approved" to "open for editing" by adminstrator doesn't work
      3) Status combobox show always "open for editing" as status even when it is one of the other statuses
      4) Inserting 2 timesheets with the exact same month and year is not considered an error, while this should not be allowed.
      5) Delete icon from timesheet overview doesn't work. It will forward you to timesheet details instead. You can delete the timesheet from there.
      
      TODO:
      - Remove debug statements
      - Show Customer in timesheet details
      - Show Customer in timesheet overview
      - Show total amount of hours worked in timesheet details
      - Show total amount of days worked in timesheet details
      - Show total amount of days worked in timesheet overview
      99a941fd
  2. 29 Jun, 2008 2 commits
  3. 05 Apr, 2008 5 commits
  4. 25 Mar, 2008 8 commits
  5. 02 Feb, 2008 1 commit
  6. 09 Dec, 2007 11 commits
  7. 21 Aug, 2007 1 commit
  8. 20 Apr, 2007 6 commits
    • Jean-Paul Saman's avatar
      f8c72aef
    • Jean-Paul Saman's avatar
      Implemented access control for users that are not allowed to delete timesheets... · 07d054c5
      Jean-Paul Saman authored
      Implemented access control for users that are not allowed to delete timesheets when created. It is now assumed that only the admin will assign delete rights for people that need them. Be carefull the users filter box is also hooked up on this access rights. Once granted delete rights a user can delete timesheets from someone else.
      
      This should be fixed in future. Currently I do not know how to fix this.
      07d054c5
    • Jean-Paul Saman's avatar
      Added user selection to vw_idx_inc.php. This makes it possible to view the... · 62f685f0
      Jean-Paul Saman authored
      Added user selection to vw_idx_inc.php. This makes it possible to view the timesheets of other people besides those of yourself. This feature is not restricted to the admin.
      62f685f0
    • 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
    • Jean-Paul Saman's avatar
      Removed code duplication by introducing a timesheets() php function that will... · 623782c3
      Jean-Paul Saman authored
      Removed code duplication by introducing a timesheets() php function that will be called from every timesheet overview type (status: all=-1, open=0, submitted=2, approved=3).
      623782c3
    • Jean-Paul Saman's avatar
      Bugs fixed: · 07386af7
      Jean-Paul Saman authored
      - Changing status and period of timesheet doesn't create 2 timesheet now. It only creates one timesheet or updates the current timesheet.
      
      Feature added:
      - Added a new row timesheet_worked to database for keeping a total of hours worked that timesheet_period.
      - Added row timesheet_worked to inteface.
      07386af7
  9. 17 Apr, 2007 1 commit
  10. 15 Apr, 2007 1 commit