If you find out that parents have no form of daycare, and are taking care of their child while doing their remote job they should be fired, end of story.
As a parent, taking care of a child is itself a full time job. Your friend is either an idiot or was banking on his work being stupid enough to let it slide.