{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title','GAS LMS | Materials') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', ['items' => ['Dashboard' => route('teacher.dashboard')]]) @endsection {{-- Content --}} @section('content')
{{$course_offering->acyname}}_{{$course_offering->cname.' ('.$course_offering->lshort_name.')'}} {{$topic->name}} - Materials There are {{count($materials)}} Materials
@if($materials->count() > 0)
@php $count=0; @endphp @foreach ($materials as $material) @endforeach
id status title actions
{{++$count}} @if ($material->is_free) Free @else Paid @endif {{$material->name}} {{$material->desc}}
{{ $materials->appends(Request::except('page'))->render('components._pagination') }}

Displaying {{$materials->count()}} of {{ $materials->total() }}.

@else

This where you find all your assignments, quizzes, and materials

@endif
@endsection