Open porcej opened 6 years ago
Updated the way festis and webstaff.js parse telestaff data to use the nonWorking (isWorking in webstaff.js) field to decide if a member is working today.
See 9519cbc67b1d4234b2c7da0152dc78930cf8e343 for Festis update
See 4189e0d64f6aca5c293d14e9eaaa20d4a0127e34 for webstaff.js update
The Workforce Telestaff 'working' seams to indicate that a work code is turned on while 'nonWorking' indicates that the person attached to that work code is no on duty. Instead of parsing work codes to determine if someone is on duty we should look for the nonWorking code for persons not on duty and assume all other persons are on duty.