@extends('layouts.master') @section('navigation') @if (Auth::user()->role == 1) @include('local.managers.admins._navigation') @elseif(Auth::user()->role == 2) @include('local.managers.sCoords._new_navigation') @elseif(Auth::user()->role == 3) @include('local.managers.pCoords._new_navigation') @endif @stop @section('main')

This report contains performance information for all your School's Programs with assessed courses during the following semester(s):

@if (!$school->programs->isEmpty())

Unlinked programs did not assess this outcome.

Table of Contents

{{ $outcome->name }}

@foreach ($school->programs as $program) @if ($program->assessesOutcome($outcome->id)) @else @endif @endforeach

{{ $school->name }}

Academic Program Findings
{{ $program->name }}
@foreach ($program->courses as $index2 => $course) whereNotNull('outcomes_attempted') ->whereRaw('outcomes_attempted not like \'%"' . $outcome->id . '":0%\'') ->with([ 'activities' => function ($query) use (&$outcome) { $query->whereNotNull('outcomes_attempted'); $query->whereRaw('outcomes_attempted not like \'%"' . $outcome->id . '":0%\''); }, ]) ->where('code', $course->code) ->where('number', $course->number) ->whereIn('semester_id', Session::get('semesters_ids')) ->get(); ?> @if (count($sections_evaluating)) To Top

{{ $course->code }}-{{ $course->number }}

@foreach ($sections_evaluating as $index3 => $section)
Instance {{ $index3 + 1 }}
@foreach ($section->activities as $index4 => $activity) @if (array_key_exists($outcome->id, (array) $activity->o_att_array) && $activity->o_att_array[$outcome->id] >= 1)
Measure {{ $index4 + 1 }}

A rubric was used in the {{ $section->code }}-{{ $section->number }} ({{ $section->name }}) course ({{ date('M Y', strtotime($course->updated_at)) }}) to assess students’ {{ strtolower($outcome->name) }} in the activity: "{{ $activity->name }}". N= {{ count($section->students) }}.

The expected performance level was that {{ $activity->rubric->expected_percentage }}% of students participating in the activity would score {{ $activity->rubric->expected_points }} points or more in the 1-8 point scale used.

The results for each criterion were as follows:

@foreach ((array) $activity->cap_array as $index5 => $cap) @if ($criterion['outcome_id'] == $outcome->id && $cap >= $activity->rubric->expected_percentage) @elseif($criterion['outcome_id'] == $outcome->id && $cap < $activity->rubric->expected_percentage) @endif @endforeach
{{ $criterion['name'] }} {{ $cap }}%
{{ $criterion['name'] }} {{ $cap }}%

o_att_array; $o_ach_array = $activity->o_ach_array; $percentage = ($o_ach_array[$outcome->id] / $o_att_array[$outcome->id]) * 100; ?> @if ($percentage >= 100) The expected goal was reached in all (100%) of the criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was met. @elseif ($percentage < 1) The expected goal was reached in none (0%) of the criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was not met. @elseif ($percentage >= $outcome->expected_outcome) The expected goal was reached in {{ $o_ach_array[$outcome->id] }} out of the {{ $o_att_array[$outcome->id] }} ({{ round($percentage, 2) }}%) criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was met. @elseif ($percentage < $outcome->expected_outcome) The expected goal was reached in {{ $o_ach_array[$outcome->id] }} out of the {{ $o_att_array[$outcome->id] }} ({{ round($percentage, 2) }}%) criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was not met. @endif

Transformative Actions
@if ($activity->transforming_actions) {{ $activity->transforming_actions }} @else None @endif

@else
Measure {{ $index4 + 1 }}
Outcome not measured. @endif @endforeach @endforeach
@endif @endforeach
{{ $program->name }} This program does not assess {{ $outcome->name }}.
@else

No programs have assessed courses during the selected semesters.

@endif
@stop @section('javascript') // Hide tables that have no courses $('.no-courses').each(function() { // $(this).closest('tr').hide(); }); // Hide tables with empty bodies $('tbody').each(function() { if($(this).children(':visible').length==0) { $(this).closest('table').hide(); } }); // Build table of contents var outcome = $('.outcome'); var str =''; str+='
  • '+outcome.text()+'
      '; $('[id^='+outcome.attr('id')+'-].school:visible').each(function(e){ var school = $(this); str+='
    1. '+school.text()+'
        '; $('[id^='+school.attr('id')+'-].program:visible').each(function(e){ var program = $(this); if(!program.hasClass('no-courses')) str+='
      1. '+program.text()+'
      2. '; else str+='
      3. '+program.text()+'
      4. '; }); str+='
    2. '; }); str+='
  • '; // console.log(str); $('#table-of-contents').append(str); // ---------------------------------------------------------------------------- // Events // $('.to-top').on('click', function(e) { e.preventDefault(); $(this).scrollTop(0); $('html').animate({scrollTop:0}, 1); $('body').animate({scrollTop:0}, 1); }) @stop