Admins can see specific availabilties with map

https://trello.com/c/9FDzOkVv/8-as-an-admin-i-can-see-my-active-schedule-calendar-confirmed-pickups-for-each-with-maps
what is this if,else statement doing exactly? high level...