fix is_active student flag logic and make moving with enrollment status
This commit is contained in:
@@ -293,6 +293,15 @@ class Services extends BaseService
|
||||
return new \App\Services\EnrollmentTransitionService(\Config\Database::connect());
|
||||
}
|
||||
|
||||
public static function enrollmentStatus(bool $getShared = true): \App\Services\EnrollmentStatusService
|
||||
{
|
||||
if ($getShared) {
|
||||
return static::getSharedInstance('enrollmentStatus');
|
||||
}
|
||||
|
||||
return new \App\Services\EnrollmentStatusService(\Config\Database::connect());
|
||||
}
|
||||
|
||||
public static function enrollmentRegistrationEmail(bool $getShared = true): \App\Services\EnrollmentRegistrationEmailService
|
||||
{
|
||||
if ($getShared) {
|
||||
|
||||
Reference in New Issue
Block a user