@extends('layouts.print')
@section('header')
@stop
@section('main')
Courses
@if($program_courses->count()>0)
Identifier |
Name |
Assessed and Published |
@foreach($grouped_courses as $grouped_course)
{{ $grouped_course->code.$grouped_course->number.' ('.$grouped_course->semester->code.')' }} |
{{{ $grouped_course->name}}} |
@if($grouped_course->outcomes_attempted!=NULL)
@endif
|
@endforeach
@else
No courses assigned.
@endif
Sections
@if($program_courses->count()>0)
{{{ $assessed_courses_count }}} out of {{{ $program_courses->count() }}} section(s) doing Assessment ({{{ round($assessed_courses_count/$program_courses->count()*100, 2) }}}%)
Identifier |
Name |
Professor |
Assessed Activities |
Published Results |
@foreach($program_courses as $course)
{{ $course->code.$course->number.'-'.$course->section.' ('.$course->semester->code.')' }} |
{{{ $course->name}}} |
{{{ $course->user->surnames }}}, {{{ $course->user->first_name }}} |
@if(count($course->assessedActivities))
@endif
|
@if(count($course->publishedActivities))
@endif
|
@endforeach
@else
No sections assigned.
@endif
@stop
@section('included-js')
@stop
@section('javascript')
$('#graph').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Performance by Learning Outcome Criteria in {{ $program->name }} Courses'
},
legend: {
reversed: true,
},
xAxis: {
categories: [
@foreach($outcomes as $outcome)
"{{{ $outcome->name }}}
(N = {{$outcomes_attempted[$outcome->id]}}, {{$outcomes_achieved[$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.00,
color: '#000',
width:3,
zIndex:4,
label:{
text: 'Goal (70.00%)',
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: {
enabled:false
},
plotOptions: {
bar: {
//grouping: false,
shadow: false,
borderWidth: 0,
},
series: {
pointPadding: 0,
groupPadding: 0.075,
animation: false
},
},
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)
{{{ $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($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
]
}]
});
@stop