Yes, Teachers are supposed to submit attendance(Absent) for the student and the lesson will be consider done. Therefore, the teacher will be paid for that specific lesson.