@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')

{{$course->name}}

@if(is_array($outcomes_attempted))
@else

No Data

@endif

Activities

@if(!$activities->isEmpty()) @if (in_array($course->semester->id, $active_semesters)) @endif @foreach ($activities as $activity) @endforeach @if (!in_array($course->semester->id, $active_semesters)) @endif
Name Date Updated Assessed Published Diagnostic
{{ link_to_action('ActivitiesController@show', $activity->name, $parameters = array('id'=>$activity->id)) }} {{ date('M d, Y', strtotime($activity->date)) }} {{ date('M d, Y', strtotime($activity->updated_at)) }} @if($activity->o_att_array) id);?> @endif @if($activity->o_att_array && !$activity->draft && !$activity->diagnostic) @endif @if($activity->o_att_array && !$activity->draft && $activity->diagnostic) @endif
The semester for this course is inactive. You cannot create any more activities.

Unplublished activity results are not considered in the graph above.

@else
@if(in_array($course->semester->id, $active_semesters))

No activities. Create one.

@else

The semester for this course is inactive. You cannot create any activities.

@endif
@endif

Students

@if(!$students->isEmpty()) @if($course->outcomes_attempted!=NULL) {{ HTML::linkAction('CoursesController@exportGrades', 'Export grades to CSV file', array('id'=>$course->id), array('class'=>'btn btn-default btn-sm pull-right')) }} @endif {{ HTML::linkAction('CoursesController@exportGrades', 'Export grades to CSV file', array('id'=>$course->id), array('class'=>'btn btn-default btn-sm pull-right')) }} @foreach ($students as $i => $student) number, 0, 3).'-'.substr($student->number, 3, -4).'-'.substr($student->number, 5, 8); ?> @endforeach
Name Number School Major
{{$i+1}} {{ $student->name }} {{ $formatted_student_number }} {{ $student->school_code }} {{ $student->conc_code }}
@else

No students.

@endif
@stop @section('included-js') @stop @section('javascript') student_report_for_outcome; ?> $(function () { $('#graph').highcharts({ chart: { type: 'bar' }, title: { text: 'Performance by Learning Outcome Criteria in {{ $title }}' }, xAxis: { categories: [ @foreach($outcomes as $outcome) @if( is_array($student_ach) && array_key_exists($outcome->id, $student_ach) && $student_ach[$outcome->id]['calculations']['student_attempted']!=0) id]['calculations']['student_attempted']; if( isset($student_ach[$outcome->id]['calculations']['student_achieved'])) $achieved =$student_ach[$outcome->id]['calculations']['student_achieved']; else $achieved = 0; ?> @else @endif "{{{ $outcome->name }}}
(N = {{$attempted}} , {{$achieved}} ) ", @endforeach ], labels: { style: { fontSize:'11px' }, step:1, useHTML:true, formatter: function() { return '
'+this.value+'
'; }, } }, yAxis: { min: 0, max: 100, title: { text: 'Percentage' }, @if($course->program->expected_outcome_target == null) plotLines:[{ value:70.00, color: '#000', width:3, zIndex:4, label:{ text: 'Goal (70.00%)', style: { color: '#000', fontSize: '14px', } } }] @else plotLines:[{ value:{{$course->program->expected_outcome_target->expected_target}}, color: '#000', width:3, zIndex:4, label:{ text: 'Goal ({{$course->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: '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($student_ach) && array_key_exists($outcome->id, $student_ach) && $student_ach[$outcome->id]['calculations']['student_attempted']!=0 && $student_ach[$outcome->id]['calculations']['student_achieved']) {{{ ($student_ach[$outcome->id]['calculations']['student_achieved']/$student_ach[$outcome->id]['calculations']['student_attempted'])*100 }}}, @else 0, @endif @endforeach ], pointPadding: 0, }] }); // Include dummy graph for outcomes @include('global.dummy-outcomes') }); @stop