Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added test cases

Overview

This module has been re-written in order to address the following:

  1. System's inability to allow or account for

    1. Overtime submissions that are of 24 hours duration
      Example:


      Start DateStart TimeEnd DateEnd Time
       14:00 14:00



    2. The start time of a worked overtime same as an end time of an already submitted overtime (regardless of its approval state)
      Example:

      Submitted Overtime

      New Overtime Submission


      Start DateStart TimeEnd DateEnd Time
       14:00 18:00



      Start DateStart TimeEnd DateEnd Time
       18:00 23:00



    3. Accurate determine if an overlap exist

  2.  UI / UX improvements
    1.  Core third party libraries (i.e. jQuery & Bootstrap) have been updated to the latest versions
    2.  Removal of deprecated functions / calls
  3.  Maintainability
    1.  Restructure of assets & resources
      1.  D-R-Y approach; all subsequent module overhaul will use the "Submit Overtime Hours" as a blueprint


...


Test Cases


Submitted Overtime Entry


Start DateStart TimeEnd DateEnd Time
 00:45 04:15 AM



New Overtime Entry Attempts


Test Case #Start DateStart TimeEnd DateEnd TimeOverlap

Status

(Detected by System)

1 00:15 00:30 AMNO
Status
colourGreen
titlePASS
2 00:15 00:45 AMNO
Status
colourGreen
titlePASS
3 00:45 04:15 AMYES
Status
colourGreen
titlePASS
4 00:00 04:00 AMYES
Status
colourGreen
titlePASS
5 02:00 03:00 AMYES
Status
colourGreen
titlePASS
6 04:00 04:15 AMYES
Status
colourGreen
titlePASS
7 04:15 04:30 AMNO
Status
colourGreen
titlePASS
8 04:30 04:45 AMNO
Status
colourGreen
titlePASS
9 02:00 03:00 AMYES
Status
colourGreen
titlePASS