@extends('layouts.master') {{-- TODO:ver queien tiene acceso a esta pagina y editar los navegations correspondientes --}} @section('navigation') @if(Auth::User()->role==1) @include('local.managers.admins._navigation') @elseif(Auth::User()->role==2) @include('local.managers.sCoords._navigation') @elseif(Auth::User()->role==3) @include('local.managers.pCoords._navigation') @endif @stop @section('main')
@foreach ($programs_info as $program)

{{ $program[0]->name }}

@foreach ($program[1] as $domain) @endforeach
Campus Domains
({{$program[0]->name}})
Results based on target (% of students scoring >= target) Courses used to measure and tools Summary of dissemination methods employed Summary of transformative actions or improvement
{{$domain->name}} ### Measurement
(semester)

###%
N= ##
Courses
@foreach ($program[2] as $course) @if ($course->domain_name == $domain->name) {{$course->code}} ({{$course->number}})
@endif @endforeach
Tools

(No esta implementado) @foreach ($program[3] as $action) @if ($action->domain_name == $domain->name) {{$action->transformative_actions}}

@endif @endforeach
@endforeach
@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') $(document).ready(function() { // -------------------------------------------------------------------------- // Page load // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Functions // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Events // -------------------------------------------------------------------------- // When export button is clicked, export all tables as PDF $(document).on('click', '#exportAll', function() { var r = confirm("Are you sure you want to download all programs info as separate PDFs? \n It may take a moment to process."); if (r == true) { //var 'tables' is defined in master.blade.php $.each(tables, function(index, table) { table.buttons('0-2').trigger(); }); } }); }); @stop