@extends('layouts.print')
@section('navigation')
@if($role==1)
@include('local.managers.admins._navigation')
@elseif($role==2)
@include('local.managers.sCoords._navigation')
@elseif($role==3)
@include('local.managers.pCoords._navigation')
@else
@include('local.professors._navigation')
@endif
@stop
@section('header')
@stop
@section('main')
Sections
Identifier |
Professor |
Assessed |
@foreach($sections as $section)
{{{ $section->code.$section->number.'-'.$section->section.' ('.$section->semester->code.')'}}} |
{{ $section->user->surnames }}, {{ $section->user->first_name }} |
@if($section->outcomes_attempted!=NULL)
@endif
|
@endforeach
Transformative Action Overview
Activity |
Section |
Transformative Action |
@foreach ($activities as $activity)
{{ $activity->name }} |
{{ $activity->course->section }} |
{{ $activity->transforming_actions }} |
@endforeach
@stop
@section('included-js')
@stop
@section('javascript')
// --------------------------------------------------------------------------
// Page load
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// Functions
// --------------------------------------------------------------------------
$(function () {
$('#graph').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Performance by Learning Outcome Criteria in {{ $title }}'
},
legend: {
reversed: true,
},
xAxis: {
categories: [
@foreach($outcomes as $outcome)
"{{{ $outcome->name }}}",
@endforeach
],
labels: {
style: {
fontSize:'10px'
},
step:1,
useHTML:true,
formatter: function() {
return ''+this.value+'
';
},
}
},
yAxis: {
min: 0,
max: 100,
title: {
text: 'Percentage'
}
},
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
]
}]
});
// Include dummy graph for outcomes
@include('global.dummy-outcomes')
});
@stop