I think if I were her, it would be worth it to me to put some work in to get to stay with my friends.

You could ask DD what she needs from you in order to help her. That would open the door to daily communication with the teacher. But I'd make it clear it's her decision and her responsibility. If she hides things or doesn't do the work.....

Sounds like she needs to know the rules and the boundaries. Does the teacher enforce boundaries in class or has DD been skating because she doesn't feel that it matters to the teacher? Sometimes kids may need it explained that following the rules matters, even if it doesn't look like it does. Conflicting signals may have led her astray.

Good Luck!