diff --git a/app/repository/FormsRepository.php b/app/repository/FormsRepository.php index c9d4f6729..4603098c9 100644 --- a/app/repository/FormsRepository.php +++ b/app/repository/FormsRepository.php @@ -204,7 +204,6 @@ public function getEnrollmentGrades($enrollmentId) : array $enrollment = StudentEnrollment::model()->with(['classFaults', "classroomFk"])->findByPk($enrollmentId); $gradesResult = GradeResults::model()->findAllByAttributes(["enrollment_fk" => $enrollmentId]); // medias do aluno na turma $classFaults = ClassFaults::model()->findAllByAttributes(["student_fk" => $enrollment->studentFk->id]); // faltas do aluno na turma - $curricularMatrix = CurricularMatrix::model()->findAllByAttributes(["stage_fk" => $enrollment->classroomFk->edcenso_stage_vs_modality_fk, "school_year" => $enrollment->classroomFk->school_year]); // matriz da turma $unities = GradeUnity::model()->findAllByAttributes( ["edcenso_stage_vs_modality_fk" => $enrollment->classroomFk->edcenso_stage_vs_modality_fk], ["order" => "FIELD(type, 'RF') ASC"]