...

  • “Validate and Proceed to Planned Location” button is disabled

  • User must set Info Received to “Sufficient”, “Insufficient” or “No Receipt” to proceed

On / Off Duty Time - Functionality

Data Sources

  • TSB “Occurrence Date”

  • TSB “Occurrence Time”

  • On Duty Time

  • Off Duty Time

Components

  • On Duty Date - date control

  • On Duty Time - time control

  • Off Duty Date - date control

  • Off Duty Time - time control

  • Total time on duty at the time of incident

  • Total time on duty

On Duty Time - date control

  • Date picker default is set to “Occurrence Date” year and month (day is not set)

  • Accepts “On Duty Time” date that falls on or before TSB “Occurrence Date”

  • Error message initiated under the input field if date selected is after TSB “Occurrence Date”

On Duty Time - time control

  • Time picker is set to 00 default and uses 24-hour clock

  • Accepts “On Duty Time” time that fall before the TSB “Occurrence Time”

  • Error message initiated under the input field if time selected is after the TSB “Occurrence Time” on the TSB “Occurrence Date”

Off Duty Time - date control

  • Date picker default is set to “Occurrence Date” year and month (day is not set)

  • Accepts “Off Duty Time” date that falls on or after TSB “Occurrence Date”

  • Error message initiated under the input field if date selected is before TSB “Occurrence Date”

  • Values cannot be less than "On Duty Date" & "On Duty Time" if populated.

Off Duty Time - time control

  • Time picker is set to 00 default and uses 24-hour clock

  • Accepts “Off Duty Time” time that fall after the TSB “Occurrence Time”

  • Error message initiated under the input field if time selected is before the TSB “Occurrence Time” on the TSB “Occurrence Date”

  • Values cannot be less than "On Duty Date" & "On Duty Time" if populated.

Total time on duty at the time of incident

  • Uses 24-hour clock

  • Calculate by subtracting TSB “Occurrence Date” / “Occurrence Time” from the “On Duty Time” - date / time

  • Initiate “Total time on duty at the time of incident” warning message pop-up window if total exceeds 12 hours (12 hours is ok, 12:01 is not ok)

  • Reset to 0:00 if an invalid combination of "On Duty" and "Off Duty" date/time are entered

  • Calculate every time user initially selects or updates the following controls

    • “On Duty Time” - date

    • “On Duty Time” - time

    • “Off Duty Time” - date

    • “Off Duty Time” - time

Total Time on Duty

  • Uses 24-hour clock

  • [Calculate by subtracting “Off Duty Time “ - date/ time, from the “On Duty Time” - date / time]

  • Initiate “Total Time on Duty” warning message pop-up window if total exceeds 12 hours (12 hours is ok, 12:01 is not ok)

  • Reset to 0:00 if an invalid combination of "On Duty" and "Off Duty" date/time are entered

  • Calculate every time user initially selects or updates the following controls:

    • “On Duty Time” - date

    • “On Duty Time” - time

    • “Off Duty Time” - date

    • “Off Duty Time” - time

Validation

  • Error message for the following should be displayed when “Via” dropdown is set to “Partial” and “Sufficient”:

    • On Duty Time - date

    • On Duty Time - time

    • Off Duty Time - date

    • Off Duty Time - time

Task Dashboard

“Pending Review”

“Pending Review” = All Occurrences that have not been reviewed by a manager

...