@extends('layouts.master') @section('css') {{ HTML::style('vendor/jquery-ui-1.11.4.custom/jquery-ui.min.css') }} {{ HTML::style('vendor/jquery-ui-1.11.4.custom/jquery-ui.theme.min.css') }} @stop @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')

Performance by Learning Outcome Criteria in {{ $activity_1->name }}


Performance by Learning Outcome Criteria in {{ $activity_2->name }}


Criteria Achievement {{ $activity_1->name }}


Criteria Achievement {{ $activity_2->name }}


{{ $activity_1->name }}



Date:

({{ $activity_1->date }})


Performance Indicators:
rubric[0]); ?>

{{ $activity_1->rubric[0]->num_scales }} ( rubric[0]->getTitles(); ?> @if (sizeof($titles) != 1) @foreach ($titles as $index5 => $rubric_title) @if ($index5 != $activity_1->rubric[0]->num_scales - 1) {{ $rubric_title->text }}, @else and {{ $rubric_title->text }} @endif @endforeach ) @else {{ $titles[0]->text }} ) @endif


Scale:
@if ($activity_1->rubric[0]->max_score == 1)

1 point scale

@else

1-{{ $activity_1->rubric[0]->max_score }} point scale

@endif

Performance of Students by Learning Outcome Criteria

Target by criterion:

{{ $activity_1->rubric[0]->expected_points }} or more


Expected percent of students achieving the target by criterion:

{{ $activity_1->rubric[0]->expected_percentage }} %


@foreach ($activity_1->allActivityCriterionInfo() as $index5 => $ac_criterion) criterion_id, $activity_1->id); $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity_1->id); $percentage = 'N/A'; $activity_1->getOutcomeReport(); ?> @if ($out_att == 0) @else @if ($percentage >= $activity_1->rubric[0]->expected_percentage) @else @endif @endif @endforeach
Criterion Number of Students Assessed Number of students that achieved the target % Learning Outcomes
{{ $ac_criterion->name }} {{ Criterion::students_attempted($ac_criterion->criterion_id, $activity_1->id) }} {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity_1->id) }} {{ $percentage }}{{ $percentage }}%{{ $percentage }}% @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome) {{ $index6 + 1 }}. name . "\n\n\n
"; ?> @endforeach
Formative Actions:
formativeActionsWithCriteria(); ?> @if ($formative_actions)

{{ $formative_actions[0]->at_text }}: {{ $formative_actions[0]->description }}


Formative Action's Associated Criteria:
    @foreach ($formative_actions as $criteria)
  • {{ $criteria->name }}
  • @endforeach
@endif
Assessment Comments:
@if ($activity_1->assessment_comments != null)

{{ $activity_1->assessment_comments }}

@endif

Performance of Students by Learning Outcome

{{ $activity_1->name }}
Target by learning outcome:

>= 66.67% of the attempts


Expected percent of students achieving the target by learning outcome:

where('program_id', $course->program_id) ->where('semester_id', $course->semester_id) ->first(); if (!$expected) { $expected = 'It has not been defined in the annual plan'; } else{ $expected = $expected->expected_target; } ?> {{ $expected }}


@foreach ($activity_1->getOutcomeReport() as $outcome) @if ($outcome->percentage >= $expected) @else @endif @endforeach
Learning Outcome Number of Students Assessed Number of students that achieved the target %
{{ $outcome->name }} {{ $outcome->attempted }} {{ $outcome->achieved }} {{ $outcome->percentage }}%{{ $outcome->percentage }}%


{{ $activity_2->name }}



Date:

({{ $activity_2->date }})


Performance Indicators:
rubric[0]); ?>

{{ $activity_2->rubric[0]->num_scales }} ( rubric[0]->getTitles(); ?> @if (sizeof($titles) != 1) @foreach ($titles as $index5 => $rubric_title) @if ($index5 != $activity_2->rubric[0]->num_scales - 1) {{ $rubric_title->text }}, @else and {{ $rubric_title->text }} @endif @endforeach ) @else {{ $titles[0]->text }} ) @endif


Scale:
@if ($activity_2->rubric[0]->max_score == 1)

1 point scale

@else

1-{{ $activity_2->rubric[0]->max_score }} point scale

@endif

Performance of Students by Learning Outcome Criteria

{{ $activity_2->name }}
Target by criterion:

{{ $activity_2->rubric[0]->expected_points }} or more


Expected percent of students achieving the target by criterion:

{{ $activity_2->rubric[0]->expected_percentage }} %


@foreach ($activity_2->allActivityCriterionInfo() as $index5 => $ac_criterion) criterion_id, $activity_2->id); $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity_2->id); $percentage = 'N/A'; $activity_2->getOutcomeReport(); ?> @if ($out_att == 0) @else @if ($percentage >= $activity_2->rubric[0]->expected_percentage) @else @endif @endif @endforeach
Criterion Number of Students Assessed Number of students that achieved the target % Learning Outcomes
{{ $ac_criterion->name }} {{ Criterion::students_attempted($ac_criterion->criterion_id, $activity_2->id) }} {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity_2->id) }} {{ $percentage }}{{ $percentage }}%{{ $percentage }}% @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome) name . "\n\n\n
"; ?> @endforeach
Formative Actions:
formativeActionsWithCriteria(); ?> @if ($formative_actions)

{{ $formative_actions[0]->at_text }}: {{ $formative_actions[0]->description }}


Formative Action's Associated Criteria:
    @foreach ($formative_actions as $criteria)
  • {{ $criteria->name }}
  • @endforeach
@endif
Assessment Comments:
@if ($activity_2->assessment_comments != null)

{{ $activity_2->assessment_comments }}

@endif

Performance of Students by Learning Outcome

Target by learning outcome:

>= 66.67% of the attempts


Expected percent of students achieving the target by learning outcome:

where('program_id', $course->program_id) ->where('semester_id', $course->semester_id) ->first(); //->expected_target; if (!$expected) { $expected = 'It has not been defined in the annual plan'; } else{ $expected = $expected->expected_target; } ?> {{ $expected }}


@foreach ($activity_2->getOutcomeReport() as $outcome) @if ($outcome->percentage >= $expected) @else @endif @endforeach
Learning Outcome Number of Students Assessed Number of students that achieved the target %
{{ $outcome->name }} {{ $outcome->attempted }} {{ $outcome->achieved }} {{ $outcome->percentage }}%{{ $outcome->percentage }}%


@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') $(function() { $('#criteriaGraph_1').highcharts({ chart: { type: 'bar', height: @if ($activity_1->is_assessed()) {{ count($activity_1->criteria_achieved()) * 22 + 225 }} @else {{ 22 + 225 }} @endif, }, title: { text: ' ', }, xAxis: { categories: [ @if ($activity_1->is_assessed()) @foreach ($activity_1->criteria_achieved() as $id => $value) "{{ Criterion::withTrashed()->find($id)->name }}", @endforeach @endif ], labels: { style: { fontSize: '12px' }, step: 1, useHTML: true, formatter: function() { return '
' + this.value + '
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' }, @if (isset($activity_1->rubric[0]) and isset($activity_1->rubric[0]->expected_percentage)) plotLines:[{ value:{{ $activity_1->rubric[0]->expected_percentage }}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{ $activity_1->rubric[0]->expected_percentage }}%)', style: { color: '#000', fontSize: '14px', } } }] @endif }, tooltip: { headerFormat: '{point.key} ', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y:.2f}%
', shared: true, useHTML: true }, plotOptions: { bar: { //grouping: false, shadow: false, borderWidth: 0, }, series: { pointPadding: 0, groupPadding: 0.1 }, }, series: [{ type: 'column', name: 'Passed', color: '#e70033', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @if ($activity_1->is_assessed()) @foreach ($activity_1->cap_array as $id => $crit) //This conditional is to ignore criteria that weren't assessed. These would have a value of null. @if ($crit->score_percentage) {{ $crit->score_percentage }}, @else 0, @endif @endforeach @endif ], pointPadding: 0, }] }); $('#criteriaGraph_2').highcharts({ chart: { type: 'bar', height: @if ($activity_2->is_assessed()) {{ count($activity_2->criteria_achieved()) * 22 + 225 }} @else {{ 22 + 225 }} @endif, }, title: { text: ' ', }, xAxis: { categories: [ @if ($activity_2->is_assessed()) @foreach ($activity_2->criteria_achieved() as $id => $value) "{{ Criterion::withTrashed()->find($id)->name }}", @endforeach @endif ], labels: { style: { fontSize: '12px' }, step: 1, useHTML: true, formatter: function() { return '
' + this.value + '
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' }, @if (isset($activity_2->rubric[0]) and isset($activity_2->rubric[0]->expected_percentage)) plotLines:[{ value:{{ $activity_2->rubric[0]->expected_percentage }}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{ $activity_2->rubric[0]->expected_percentage }}%)', style: { color: '#000', fontSize: '14px', } } }] @endif }, tooltip: { headerFormat: '{point.key} ', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y:.2f}%
', shared: true, useHTML: true }, plotOptions: { bar: { //grouping: false, shadow: false, borderWidth: 0, }, series: { pointPadding: 0, groupPadding: 0.1 }, }, series: [{ type: 'column', name: 'Passed', color: '#e70033', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @if ($activity_2->is_assessed()) @foreach ($activity_2->cap_array as $id => $crit) //This conditional is to ignore criteria that weren't assessed. These would have a value of null. @if ($crit->score_percentage) {{ $crit->score_percentage }}, @else 0, @endif @endforeach @endif ], pointPadding: 0, }] }); $('#graph_1').highcharts({ chart: { type: 'bar', }, title: { text: ' ' }, xAxis: { categories: [ @foreach ($outcomes as $outcome) "{{ $outcome->name }}", @endforeach ], labels: { style: { fontSize: '11px' }, step: 1, useHTML: true, formatter: function() { return '
' + this.value + '
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' } }, tooltip: { headerFormat: '{point.key} ', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y:.2f}
', shared: true, useHTML: true }, plotOptions: { bar: { //grouping: false, shadow: false, borderWidth: 0, }, series: { pointPadding: 0, groupPadding: 0.075 }, }, series: [{ name: 'Obtained Value', color: '#e70033', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @foreach ($outcomes as $index => $outcome) @if (is_array($outcomes_attempted_1) && array_key_exists($outcome->id, $outcomes_attempted_1) && $outcomes_attempted_1[$outcome->id] != 0) {{ ($outcomes_achieved_1[$outcome->id] / $outcomes_attempted_1[$outcome->id]) * 100 }}, @else 0, @endif @endforeach ], pointPadding: 0, }, { name: 'Expected Value', color: '#555555', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @foreach ($outcomes as $index => $outcome) @if (is_array($outcomes_attempted_1) && array_key_exists($outcome->id, $outcomes_attempted_1) && $outcomes_attempted_1[$outcome->id] != 0) {{ $outcome->expected_outcome }}, @else 0, @endif @endforeach ], pointPadding: 0, }] }); $('#graph_2').highcharts({ chart: { type: 'bar', }, title: { text:' ' }, xAxis: { categories: [ @foreach ($outcomes as $outcome) "{{ $outcome->name }}", @endforeach ], labels: { style: { fontSize: '11px' }, step: 1, useHTML: true, formatter: function() { return '
' + this.value + '
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' } }, tooltip: { headerFormat: '{point.key} ', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y:.2f}
', shared: true, useHTML: true }, plotOptions: { bar: { //grouping: false, shadow: false, borderWidth: 0, }, series: { pointPadding: 0, groupPadding: 0.075 }, }, series: [{ name: 'Obtained Value', color: '#e70033', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @foreach ($outcomes as $index => $outcome) @if (is_array($outcomes_attempted_2) && array_key_exists($outcome->id, $outcomes_attempted_2) && $outcomes_attempted_2[$outcome->id] != 0) {{ ($outcomes_achieved_2[$outcome->id] / $outcomes_attempted_2[$outcome->id]) * 100 }}, @else 0, @endif @endforeach ], pointPadding: 0, }, { name: 'Expected Value', color: '#555555', dataLabels: { enabled: true, fontSize: 8, color: '#fff', align: 'right', format: '{y:.1f}%', style: { //fontWeight: 'bold' }, y: -1 }, data: [ @foreach ($outcomes as $index => $outcome) @if (is_array($outcomes_attempted_2) && array_key_exists($outcome->id, $outcomes_attempted_2) && $outcomes_attempted_2[$outcome->id] != 0) {{ $outcome->expected_outcome }}, @else 0, @endif @endforeach ], pointPadding: 0, }] }); var chart = $('#graph_1').highcharts(); var titletext = $('#graph_1').highcharts().options.title.text; var newtitletext = titletext.replace("'", "\'"); chart.setTitle({ text: newtitletext }); var chart = $('#graph_2').highcharts(); var titletext = $('#graph_2').highcharts().options.title.text; var newtitletext = titletext.replace("'", "\'"); chart.setTitle({ text: newtitletext }); $('.first').each(function(){ $(this).addClass('active'); }) // Include dummy graph for outcomes @include('global.dummy-outcomes') }); @stop @section('included-js') @include('global._datatables_js') @stop