@extends('backEnd.master') @section('title') @lang('study.syllabus_list') @endsection @push('css') @endpush @section('mainContent')
@foreach($records as $key => $record)
@php if(moduleStatusCheck('University')){ $contents = $record->getUploadContent('sy','for_university'); }else{ $contents = $record->getUploadContent('sy',0); } @endphp @foreach($contents as $value) @endforeach
@lang('study.content_title') @lang('common.type') @lang('common.date') @lang('study.available_for') @lang('common.description') @lang('common.action')
{{@$value->content_title}} @if(@$value->content_type == 'as') {{'Assignment'}} @elseif(@$value->content_type == 'st') {{'Study Material'}} @elseif(@$value->content_type == 'sy') {{'Syllabus'}} @else {{'Others Download'}} @endif {{@$value->upload_date != ""? dateConvert(@$value->upload_date):''}} @if(moduleStatusCheck('University')) @lang('study.all_students_of') ({{@$value->semesterLabel->name.'->'.@$value->unDepartment->name}}) @else @if(@$value->available_for_admin == 1) @lang('study.all_admins')
@endif @if(@$value->available_for_all_classes == 1) @lang('study.all_classes_student') @endif @if(@$value->classes != "" && $value->sections != "") @lang('study.all_students_of') ({{@$value->classes->class_name.'->'.@$value->sections->section_name}}) @endif @if(@$value->classes != "" && $value->sections ==null) @lang('study.all_students_of') ({{@$value->classes->class_name.'->'.'All Sections'}}) @endif @endif
{{\Illuminate\Support\Str::limit(@$value->description, 500)}} @lang('common.view') @if(@$value->upload_file != "") @if(userPermission(32)) @lang('study.download') @endif @endif
@endforeach
@endsection @include('backEnd.partials.data_table_js')