update policy and fix other issues
This commit is contained in:
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user