@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') @endif @stop @section('main')

Report Options


{{-- For for adding a new outcome --}} {{ Form::open(['action' => 'ProgramsController@showReport']) }}
{{ Form::label('name', 'Select which semesters to report on') }}
@foreach ($semesters as $semester) @if ($semester->is_visible)
{{-- {{ Form::checkbox('semester'.$semester->id, $semester->name, array('class' => 'form-control', 'id'=>$semester->id)) }} {{ Form::label('semester'.$semester->id, $semester->name.'('.$semester->code.')') }}
--}}
@endif @endforeach
{{ Form::label('divulgacion', 'Select metodos de divulgacion') }}
{{ Form::close() }}
@foreach ($programs as $program) @endforeach
Name School
{{ HTML::linkAction('ProgramsController@show', $program->name, [$program->id]) }} {{ $program->school->name }}
@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') $('#make_report').hide(); //show form $('#show').on('click', function(e) { $('#make_report').show(); $('#show').hide(); }); //hide form $('#hide').on('click', function(e) { $('#make_report').hide(); $('#show').show(); }); //on submit, change value of the checkbox input of id 'other' $('#submit').click(function(){ $('#otros').val('Otro- '+$('#otherBox').val()); }); @stop