From b7bbf1498671452e38ce89e3662cfef8189a74d8 Mon Sep 17 00:00:00 2001 From: Gustavo Santos Date: Thu, 19 Dec 2024 11:16:29 -0300 Subject: [PATCH] =?UTF-8?q?Ordenando=20de=20acordo=20com=20a=20ordem=20da?= =?UTF-8?q?=20turma=20o=20relat=C3=B3rio=20de=20ata=20de=20notas=20(#900)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: TI GUSTAVO --- CHANGELOG.md | 3 +++ app/repository/FormsRepository.php | 2 +- config.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad33601ce..e7d9e2e4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ +## [Versão 3.93.211] +- Ordenando de acordo com a ordem da turma o relatório de ata de notas + ## [Versão 3.93.210] - Corrigindo a busca por aulas em aulas ministradas quando o usuário é um professor da educação infantil diff --git a/app/repository/FormsRepository.php b/app/repository/FormsRepository.php index 74fe756b2..a328eb0ea 100644 --- a/app/repository/FormsRepository.php +++ b/app/repository/FormsRepository.php @@ -784,7 +784,7 @@ public function getAtaSchoolPerformance($classroomId) : array $totalDisciplines = array_merge($baseDisciplines, $diversifiedDisciplines); - $studentEnrollments = StudentEnrollment::model()->findAllByAttributes(array('classroom_fk' => $classroom->id)); + $studentEnrollments = $classroom->studentEnrollments; $grades = []; diff --git a/config.php b/config.php index 8bc552b7f..77f0bb3e5 100644 --- a/config.php +++ b/config.php @@ -7,7 +7,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', $debug); defined("SESSION_MAX_LIFETIME") or define('SESSION_MAX_LIFETIME', 3600); -define("TAG_VERSION", '3.93.210'); +define("TAG_VERSION", '3.93.211'); define("YII_VERSION", Yii::getVersion()); define("BOARD_MSG", '
Novas atualizações no TAG. Confira clicando aqui.
');