Set Time In/Out to Display Rounded Time (Optional)
If you are using TimeLogRoundingInterval, the actual time value displays on the initial form load when the user times in and/or out. If you would prefer to display the actual time, you can update the Offline HTML form in the MobileTech Woodford project to change the value of the roundInitialTimeInOut setting.
The default value is false, which displays the actual time value. By setting the value to true, the rounded time displays. For example, with the roundInitialTimeInOut to true and you are rounding by 5, and the user is timing in at 4:07, the time displayed is 4:05. If timing out at 4:32, the time displayed is 4:30.
To set the time in/out to display rounded time values:
- In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard.
- Enter the Email and Password and select Log in.
- In the left navigation, select Woodford.
- Double-click the MobileTech Woodford project.
- In the left navigation, under Components, select Offline HTML.
- Double-click the entity folder.
- Double-click the timelog folder.
- Select timelog-form.html and then select Edit.
- Update the var roundInitialTimeInOut line to true.
- If you are also using Travel Timelog, you will need to complete the following steps:
- Double-click the entity folder.
- Double-click the appointment folder.
- Select appointment-list.html and then select Edit.
- Update the var roundInitialTimeInOut line to true.
- Select SAVE.
- Select Save.
- Publish the project.
- Sync the devices.