update policy and fix other issues
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m19s

This commit is contained in:
root
2026-08-23 18:19:08 -04:00
parent 103f970110
commit a6e0ce1432
13 changed files with 433 additions and 317 deletions
@@ -279,6 +279,8 @@ final class SchoolYearClosingService
'next_school_year_id' => $targetYearId,
]);
$targetName = (string) ($target['name'] ?? '');
$sourceName = (string) ($this->requireYear($sourceYearId)['name'] ?? '');
service('studentYearStatus')->markReturningStudentsForTargetYear($sourceName, $targetName);
$this->managementService->syncConfigurationForYear($targetYearId);
$this->syncActiveYearSession($targetName);
$this->managementService->log($sourceYearId, SchoolYearStatus::CLOSING, SchoolYearStatus::CLOSED, 'closing_complete', $userId, [