Passenger damaged other vehicle when opening the door who has to pay?

Hello, my daughter (still 17, end of the month 18 years) complained during school time about severe headaches and nausea. Then she wanted to bring the class teacher nicely to the doctor. On the teacher’s parking lot, my daughter opened the door of the car to her teacher, while she slipped the vehicle door, the door hit into the rear part (coating wing) of another teacher. This came to a dent, the car is Peugeot Cabrio 207 CC 03.2007. My question is now who is carrying the costs the reperatur ? the car.licence of the vehicle owner or me or my daughter . Thank you very much for your answers !!