fix logic and tests, update docker CI file

This commit is contained in:
root
2026-03-09 15:58:44 -04:00
parent 1cb3573d4b
commit 79e44fe037
188 changed files with 1776 additions and 524 deletions
@@ -16,11 +16,11 @@ class AssignmentSectionService
return $this->classSection
->newQuery()
->whereIn('id', $sectionIds)
->whereIn('class_section_id', $sectionIds)
->get()
->mapWithKeys(function ($section) {
$name = $section->class_section_name ?? $section->section_name ?? $section->name ?? '';
return [(int) $section->id => (string) $name];
return [(int) $section->class_section_id => (string) $name];
})
->all();
}