fix is_new issue with enrollment fixes
This commit is contained in:
@@ -492,4 +492,16 @@ class Services extends BaseService
|
||||
(string) getSemester()
|
||||
);
|
||||
}
|
||||
|
||||
public static function studentYearStatus(bool $getShared = true): \App\Services\StudentYearStatusService
|
||||
{
|
||||
if ($getShared) {
|
||||
return static::getSharedInstance('studentYearStatus');
|
||||
}
|
||||
|
||||
return new \App\Services\StudentYearStatusService(
|
||||
\Config\Database::connect(),
|
||||
model(\App\Models\StudentYearStatusModel::class)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user