@extends('layouts.print') @section('header')

@foreach (Session::get('semesters_info') as $index => $semester_info) {{ $semester_info }} @if($index+1 != count(Session::get('semesters_info'))) · @endif @endforeach

Program Assessment Results

{{{ $program->name}}}

@stop @section('main')

Performance of {{ $program->name }} Students by Learning Outcome

@if($outcomes->count()>0) @foreach($outcomes_colap as $outcome) @if(isset($outcomes_attempted_colap[$outcome->id])) @endif @endforeach
Program Id Program Is Graduate Learning Outcome Number Students Number Students that Achieved the Target Percentage of Students that Achieved the Target
{{{ $program->id }}} {{{ $program->is_graduate }}} {{ $outcome->name }} {{{ $outcomes_attempted_colap[$outcome->id] }}} {{{ $outcomes_achieved_colap[$outcome->id] }}} @if($outcomes_attempted_colap[$outcome->id]!=0) {{{ round($outcomes_achieved_colap[$outcome->id] / $outcomes_attempted_colap[$outcome->id]*100, 2) }}}% @else N/M @endif
@else

No courses assigned.

@endif

Courses in this program

@if(count($grouped_courses)>0) @foreach($grouped_courses as $grouped_course) @endforeach
Identifier Name Course Program Number of Students
{{ $grouped_course->code.$grouped_course->number.' ('.$grouped_course->semester->code.')' }} {{{ $grouped_course->name}}} {{{ $grouped_course->program->code}}} {{{ $grouped_course->quantity }}}
@else

No courses assigned.

@endif
@stop @section('included-js') @stop @section('javascript') $('#graph_undergrad_combined').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance of {{ $program->name }} Students by Learning Outcome' }, legend: { reversed: true, }, xAxis: { categories: [ @foreach($outcomes_colap as $outcome) "{{{ $outcome->name }}}
(N = {{{ $outcomes_attempted_colap[$outcome->id] }}}, {{{ $outcomes_achieved_colap[$outcome->id] }}})", @endforeach ], labels: { style: { fontSize:'11px' }, step:1, useHTML:true, formatter: function() { return '
'+this.value+'
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' }, @if($program->expected_outcome_target == null) plotLines:[{ value:70, color: '#000', width:3, zIndex:4, label:{ text: 'Goal (70%)', style: { color: '#000', fontSize: '14px', } } }] @else plotLines:[{ value:{{$program->expected_outcome_target->expected_target}}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{$program->expected_outcome_target->expected_target}}%)', 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.075 }, }, series: [/*{ 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_colap as $index => $outcome) @if( is_array($outcomes_attempted_colap) && array_key_exists($outcome->id, $outcomes_attempted_colap) && $outcomes_attempted_colap[$outcome->id]!=0) @else 0, @endif @endforeach ] },*/{ 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_colap as $index => $outcome) @if( is_array($outcomes_attempted_colap) && array_key_exists($outcome->id, $outcomes_attempted_colap) && $outcomes_attempted_colap[$outcome->id]!=0) {{{ ($outcomes_achieved_colap[$outcome->id]/$outcomes_attempted_colap[$outcome->id])*100 }}}, @else 0, @endif @endforeach ] }] }); @stop