@extends('layouts.master') @section('navigation') @if($role==1) @include('local.managers.admins._navigation') @elseif($role==2) @include('local.managers.sCoords._navigation') @elseif($role==3) @include('local.managers.pCoords._navigation') @else @include('local.professors._navigation') @endif @stop @section('main')

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

{{ $outcome->name }}

@foreach($courses as $index2=>$course) whereNotNull('outcomes_attempted') //->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'') //->with(array('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(); $semester_code = DB::table('semesters')->where('id', '=', $course->semester_id)->first(); $program = DB::table('programs')->where('id', $course->program_id)->first(); ?> @if(count($sections_evaluating)) @else @endif @endforeach
Course Program Findings
{{ $course->code}}-{{ $course->number }} ({{ $semester_code->code }}) {{ $program->name }} @foreach($sections_evaluating as $index3 => $section)
Instance {{ $section->section }}
@foreach($section->activities as $index4 => $activity) activities) ; Log::info($activity->o_att_array); Log::info("this is the cap_array for ". $activity->name); Log::info($activity->cap_array); Log::info('aqui papi');?> @if($activity->draft ==0 && $activity->diagnostic ==0&& array_key_exists($outcome->id, (array)$activity->o_att_array))
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 }}". At the time of assessment there were {{ $activity->amount_of_assessed_students() }} students in the section.

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

The results for each criterion were as follows:

@foreach($activity->cap_array as $criterion_id => $criterion) @if(in_array($outcome->id, json_decode($criterion->outcome_id)) /*== $outcome->id*/ && $criterion->score_percentage >= $activity->rubric[0]->expected_percentage ) @elseif(in_array($outcome->id, json_decode($criterion->outcome_id)) && $criterion->score_percentage < $activity->rubric[0]->expected_percentage ) @endif @endforeach
{{ $criterion->name }} {{ $criterion->score_percentage }}%
{{ $criterion->name }} {{ $criterion->score_percentage }}%

o_att_array; $o_ach_array = $activity->o_ach_array; Log::info($o_att_array); Log::info($o_ach_array); Log::info('los outcomes'); $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

Transforming Actions
@if($activity->transforming_actions) {{ $activity->transforming_actions }} @else None @endif @elseif ($activity->draft == 0)
Measure {{ $index4 + 1 }}
Outcome not measured. @else @endif @endforeach @endforeach

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

No assessment.

@stop @section('included-js') @include('global._datatables_js') @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(); } }); // ---------------------------------------------------------------------------- // Events // $('.to-top').on('click', function(e) { e.preventDefault(); $(this).scrollTop(0); $('html').animate({scrollTop:0}, 1); $('body').animate({scrollTop:0}, 1); }) @stop