@extends('layouts.master') @section('navigation') @include('local.managers.pCoords._new_navigation') @stop @section('main')
@foreach($programs_array as $index => $program_item)




@if($program_item['linea_de_graph']== null)

This Goal Bar is the default score. If you wish to change it, change it on the selected Semesters Annual Plan

@else

This Goal is from {{$program_item['linea_de_graph']->program_name}} on the semester {{$program_item['linea_de_graph']->semester_name}}

@endif

Courses in this program

Note that some courses may have assessed activities but unpublished results. Unplublished results are not considered. Check the Sections tab for a breakdown.

@if($program_item['program_courses']->count()>0) @foreach($program_item['grouped_courses'] as $grouped_course) @endforeach
Identifier Name Program Assessed and Published
{{ 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->name }}} @if($grouped_course->someSectionAssessed()!=0) Yes @else No @endif
@else

No courses assigned.

@endif

Sections in this program

@if($program_item['program_courses']->count()>0)

{{{ $program_item['assessed_courses_count'] }}} out of {{{ $program_item['program_courses']->count() }}} section(s) doing Assessment ({{{ round($program_item['assessed_courses_count']/$program_item['program_courses']->count()*100, 2) }}}%)

Note that some courses may have assessed activities but unpublished results. Unplublished results are not considered.

@foreach($program_item['program_courses'] as $course) @endforeach
Identifier Name Professor Assessed Activities Published Results
{{ HTML::linkAction('CoursesController@showLimited', $course->code.$course->number.'-'.$course->section.' ('.$course->semester->code.')', array('id'=>$course->id)) }} {{{ $course->name}}} {{{ $course->user->surnames }}}, {{{ $course->user->first_name }}} @if(count($course->assessedActivities)) Yes @else No @endif @if(count($course->publishedActivities)) Yes @else No @endif
@else

No sections assigned.

@endif

Contact information

@foreach($programs_contact[$index] as $user) @if($user->role == 1) @elseif($user->role == 2) @elseif($user->role == 3) @else @endif @endforeach
Name Role Program(s) Email Office Phone Cell Phone
{{ $user->surnames }}, {{ $user->first_name }}Administrator AllSchool Coordinator All in {{ $program_item['program']->school }}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 @if($user->cell_phone) {{{ $user->cell_phone }}} @else Not set @endif
@endforeach
@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') // Create an function that responds to click of program tabs @foreach($programs_array as $index => $program_item) $('#programTabs a').click(function (e) { e.preventDefault() $(this).tab('show'); $('#programSubTabs{{$index}} a').click(function (e) { e.preventDefault() $(this).tab('show'); }); $('#graph{{$index}}').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance by Learning Outcome Criteria in {{ $program_item['program']->name }} Courses' }, legend: { reversed: true, }, xAxis: { categories: [ @foreach($outcomes as $outcome) @if(is_array($program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_achieved']) && $program_item['outcomes_attempted'][$outcome->id]!=0) "{{{ $outcome->name }}}
(N = {{$program_item['outcomes_attempted'][$outcome->id]}}, {{$program_item['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' }, plotLines:[{ @if($program_item['linea_de_graph'] != null) value:{{$program_item['linea_de_graph']->expected_target}}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{$program_item['linea_de_graph']->expected_target}}%)', @else value:70.00, color: '#000', width:3, zIndex:4, label:{ text: 'Goal (70.00%)', @endif style: { color: '#000', fontSize: '14px', } } }] }, 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($program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_attempted']) && $program_item['outcomes_attempted'][$outcome->id]!=0) {{{ $outcome->expected_outcome }}}, @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 $index2 => $outcome) @if( is_array($program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_achieved']) && $program_item['outcomes_attempted'][$outcome->id]!=0) {{{ ($program_item['outcomes_achieved'][$outcome->id]/$program_item['outcomes_attempted'][$outcome->id])*100 }}}, @else 0, @endif @endforeach ] }] }); {{--}} $('#graph-stu-program{{$index}}').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance by {{ $program_item['program']->name }}\'s Students in Learning Outcomes' }, legend: { reversed: true, }, xAxis: { categories: [ @foreach($outcomes as $outcome) @if(is_array($program_item['program_outcomes_attempted']) && array_key_exists($outcome->id, $program_item['program_outcomes_attempted']) && array_key_exists($outcome->id, $program_item['program_outcomes_achieved']) && $program_item['program_outcomes_attempted'][$outcome->id]!=0) "{{{ $outcome->name }}}
(N = {{$program_item['program_outcomes_attempted'][$outcome->id]}}, {{$program_item['program_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' }, plotLines:[{ @if($program_item['linea_de_graph'] != null) value:{{$program_item['linea_de_graph']->expected_target}}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{$program_item['linea_de_graph']->expected_target}}%)', @else value:70.00, color: '#000', width:3, zIndex:4, label:{ text: 'Goal (70.00%)', @endif style: { color: '#000', fontSize: '14px', } } }] }, 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($program_item['outcomes_attempted']) && array_key_exists($outcome->id, $program_item['outcomes_attempted']) && $program_item['outcomes_attempted'][$outcome->id]!=0) {{{ $outcome->expected_outcome }}}, @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($program_item['program_outcomes_attempted']) && array_key_exists($outcome->id, $program_item['program_outcomes_attempted']) && array_key_exists($outcome->id, $program_item['program_outcomes_achieved']) && $program_item['program_outcomes_attempted'][$outcome->id]!=0) {{{ ($program_item['program_outcomes_achieved'][$outcome->id]/$program_item['program_outcomes_attempted'][$outcome->id])*100 }}}, @else 0, @endif @endforeach ] }] });--}} }); @endforeach // Trigger click on first tab so it loads automatically $( '#programTabs a:eq(0)').trigger('click'); // Include dummy graph for outcomes @include('global.dummy-outcomes') @stop