add all controllers logic

This commit is contained in:
root
2026-03-11 17:53:15 -04:00
parent 3e6c577085
commit 2ef71cc92b
421 changed files with 12009 additions and 5211 deletions
@@ -8,16 +8,6 @@ class SemesterSelectionService
{
public function selectedTeacherSemester(): string
{
$selected = trim((string) (session()->get('teacher_scores_selected_semester') ?? ''));
if ($selected !== '') {
return $this->normalize($selected);
}
$fallback = trim((string) (session()->get('semester') ?? ''));
if ($fallback !== '') {
return $this->normalize($fallback);
}
$configSemester = trim((string) (Configuration::getConfig('semester') ?? ''));
if ($configSemester !== '') {
return $this->normalize($configSemester);