Submit Overtime Hours Module

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


24 Hour Overtime

Submitted Overtime Entry
Start DateStart TimeEnd DateEnd TimeStatus
 08:00 AM 08:00 AMPASS
 08:00 AM 08:00 AMPASS
 02:00 PM 02:00 PMPASS

Overlapping Overtime

Submitted Overtime Entry
Start DateStart TimeEnd DateEnd TimeStatus
 00:45 AM 04:15 AMPASS
New Overtime Entry Attempts
Test Case #Start DateStart TimeEnd DateEnd TimeOverlap

Status

(Detected by System)

1 00:15 00:30 AMNOPASS
2 00:15 00:45 AMNOPASS
3 00:45 04:15 AMYESPASS
4 00:00 04:00 AMYESPASS
5 02:00 03:00 AMYESPASS
6 04:00 04:15 AMYESPASS
7 04:15 04:30 AMNOPASS
8 04:30 04:45 AMNOPASS
9 02:00 03:00 AMYESPASS