Overview
This module has been re-written in order to address the following:
- System's inability to allow or account for
Overtime submissions that are of 24 hours duration
Example:
Start Date | Start Time | End Date | End Time |
---|
| 14:00 | | 14:00 |
|
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 Date | Start Time | End Date | End Time |
---|
| 14:00 | | 18:00 |
| Start Date | Start Time | End Date | End Time |
---|
| 18:00 | | 23:00 |
|
Accurate determine if an overlap exist
- UI / UX improvements
- Core third party libraries (i.e. jQuery & Bootstrap) have been updated to the latest versions
- Removal of deprecated functions / calls
- Maintainability
- Restructure of assets & resources
- 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 Date | Start Time | End Date | End Time | Status |
---|
| 08:00 AM | | 08:00 AM | PASS | | 08:00 AM | | 08:00 AM | PASS | | 02:00 PM | | 02:00 PM | PASS |
|
Overlapping Overtime
Submitted Overtime Entry |
---|
Start Date | Start Time | End Date | End Time | Status |
---|
| 00:45 AM | | 04:15 AM | PASS | |
New Overtime Entry Attempts |
---|
Test Case # | Start Date | Start Time | End Date | End Time | Overlap | Status (Detected by System) |
---|
1 | | 00:15 | | 00:30 AM | NO | PASS | 2 | | 00:15 | | 00:45 AM | NO | PASS | 3 | | 00:45 | | 04:15 AM | YES | PASS | 4 | | 00:00 | | 04:00 AM | YES | PASS | 5 | | 02:00 | | 03:00 AM | YES | PASS | 6 | | 04:00 | | 04:15 AM | YES | PASS | 7 | | 04:15 | | 04:30 AM | NO | PASS | 8 | | 04:30 | | 04:45 AM | NO | PASS | 9 | | 02:00 | | 03:00 AM | YES | PASS | |