private function enrollments()
    {
        return $this->validateCollection(
            Enrollment::activeOn(
                AcademicPeriod::findOrFail($this->period)->shortname)
            )->orderBy(
                'enrollment_study_id',
                'enrollment_course_id',
                'enrollment_group_id')->get();
    }
private function enrollments()
    {
        return $this->validateCollection(
            Enrollment::activeOn(
                AcademicPeriod::findOrFail($this->period)->shortname)
            )->orderBy(
                'enrollment_study_id',
                'enrollment_course_id',
                'enrollment_group_id')->get();
    }
private function enrollments ( ) { return $ this -> validateCollection ( Enrollment :: activeOn ( AcademicPeriod :: findOrFail ( $ this -> period ) -> shortname ) ) -> orderBy ( 'enrollment_study_id' , 'enrollment_course_id' , 'enrollment_group_id' ) -> get ( ) ; }
Obtain all ebre_escool_enrollments
Obtain all ebre_escool_enrollments