Materials List

@if (request()->group == 'normal' || !request()->group) @else @endif
@if (request()->group == 'normal' || !request()->group) @if (count($hyper_materials) == 0 and count($materials) == 0)

No data been found

@endif @foreach ($groups as $group)
@forelse ($topics as $key=>$topic) @if (AppHelper::instance()->groupTopicsMaterials($topic->id, $group->gid))
{{ $topic->name }}
{{-- begin:material --}} @foreach ($materials as $key => $material) @if ($material->course_topic_id == $topic->id && $material->gid == $group->gid)
@if ($material->desc) @endif @forelse (AppHelper::instance()->materialAttachments($material->id) as $key=>$attachment) @if ($attachment->type == 'ogg' || $attachment->type == 'mp4' || $attachment->type == 'mp3') @else
@endif @empty
No Attachments Yet
@endforelse
@endif @endforeach @foreach ($hyper_materials as $key => $material) @if ($material->course_topic_id == $topic->id && $material->gid == $group->gid)
@if ($material->desc) @endif
@endif @endforeach
@endif @empty

No data been found

@endforelse
@endforeach @else {{-- begin:material --}} @forelse ($topics as $key=>$topic)
{{ $topic->name }}
{{-- begin:material --}} @foreach ($materials_composed_group as $key => $material) @if ($material->course_topic_id == $topic->id)
@if ($material->desc) @endif @forelse (AppHelper::instance()->materialAttachments($material->id) as $key=>$attachment) @if ($attachment->type == 'ogg' || $attachment->type == 'mp4' || $attachment->type == 'mp3') @else
@endif @empty
No Attachments Yet
@endforelse
@endif @endforeach @foreach ($hyper_materials_composed_group as $key => $material) @if ($material->course_topic_id == $topic->id)
@if ($material->desc) @endif
@endif @endforeach
@empty

No data been found

@endforelse @endif
{{-- Edit material modal --}} {{-- Edit material modal --}} {{-- Change Material topic modal --}} {{-- Change hypered Material topic modal --}} {{-- Copy Material modal --}} @section('js') {{-- get hyper material data --}} {{-- change material topic --}} {{-- change hyper material topic --}} {{-- copy material to group --}} @endsection