@extends('layouts.app') @section('title', 'Cursos') @section('content')
Curso | Title | Prontuario | @foreach ($semesters as $semester)# de Secciones {{ $semester->alpha }} |
@endforeach
---|---|---|---|
{{ $course->code }} | {{ substr($course->title, 0, 50) . (strlen($course->title) > 50 ? '...' : '') }} | @if (!is_null($course->syllabus)) PDF @else @auth @else n/a @endauth @endif | @foreach ($semesters as $semester)take(-6)->contains($semester->code)) onclick="addSection({{ $course->id . ',\'' . $semester->code }}')" @endif > {{ $course->getSemesterSectionCount($semester->code) }} | @endforeach