@extends('layouts.master') @section('navigation') @if($role==1) @include('local.managers.admins._new_navigation') @elseif($role==2) @include('local.managers.sCoords._new_navigation') @elseif($role==3) @include('local.managers.pCoords._new_navigation') @else @include('local.professors._navigation') @endif @stop @section('main') @if($role!=4) Go to Performance by Program Courses @else Go to Performance by Program Courses @endif

Performance of {{ $program->name }} Students by Combined 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 }}} {{ link_to_action('OutcomesController@show', $outcome->name, array($outcome->id), $attributes = array()) }} {{{ $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

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

@if($outcomes->count()>0) @foreach($outcomes as $outcome) @if(isset($outcomes_attempted[$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 }}} {{ link_to_action('OutcomesController@show', $outcome->name, array($outcome->id), $attributes = array()) }} {{{ $outcomes_attempted[$outcome->id] }}} {{{ $outcomes_achieved[$outcome->id] }}} @if($outcomes_attempted[$outcome->id]!=0) {{{ round($outcomes_achieved[$outcome->id] / $outcomes_attempted[$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
{{ HTML::linkAction('CoursesController@showGrouped', $grouped_course->code.$grouped_course->number.' ('.$grouped_course->semester->code.')', array($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

Contact Information

@foreach($users as $user) @if($user->role == 1) @elseif($user->role == 2) @elseif($user->role == 3) @else @endif @endforeach
Name Role Program Email Office Phone
{{ $user->surnames }}, {{ $user->first_name }}Administrator AllSchool Coordinator All in {{ $program->school->name }}Program Coordinator @foreach ($user->programs as $program) {{ $program->name }}  @endforeach Professor @foreach ($user->programs as $program) {{ $program->name }}  @endforeach {{ $user->email }} @if($user->office_phone) {{{ $user->office_phone }}} @if($user->office_extension) ext. {{{ $user->office_extension }}} @endif @else Not set @endif
@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') $('#programTabs a').click(function (e) { e.preventDefault() $(this).tab('show'); }); $('#graph').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance of {{ $program->name }} Students by Uncombined Learning Outcome' }, legend: { reversed: true, }, xAxis: { categories: [ @foreach($outcomes as $outcome) @if(isset($outcomes_attempted[$outcome->id])) "{{{ $outcome->name }}}
(N = {{{ $outcomes_attempted[$outcome->id] }}}, {{{ $outcomes_achieved[$outcome->id] }}})", @else "{{{ $outcome->name }}}
(N = 0, 0)", @endif @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 as $index => $outcome) @if( is_array($outcomes_attempted) && array_key_exists($outcome->id, $outcomes_attempted) && $outcomes_attempted[$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 as $index => $outcome) @if( is_array($outcomes_attempted) && array_key_exists($outcome->id, $outcomes_attempted) && $outcomes_attempted[$outcome->id]!=0) {{{ ($outcomes_achieved[$outcome->id]/$outcomes_attempted[$outcome->id])*100 }}}, @else 0, @endif @endforeach ] }] }); $('#graph2').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance of {{ $program->name }} Students by Combined 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 ] }] }); // Include dummy graph for outcomes @include('global.dummy-outcomes') @stop