Skip to content

Commit

Permalink
consertada ordem das unidades
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielChagas14 committed Jan 3, 2025
1 parent f6fbf3a commit 5f31f48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/repository/FormsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 5f31f48

Please sign in to comment.