@lang('common.sl') | @lang('study.content_title') | @lang('common.type') | @lang('common.date') | @lang('study.available_for') | @if(moduleStatusCheck('University'))@lang('university::un.semester_label') | @lang('common.section') | @else@lang('study.classSec') | @endif@lang('common.action') |
---|---|---|---|---|---|---|---|---|
{{$key+1}} | {{@$value->content_title}} | @if(@$value->content_type == 'as') @lang('study.assignment') @elseif(@$value->content_type == 'st') @lang('study.study_material') @elseif(@$value->content_type == 'sy') @lang('study.syllabus') @else @lang('study.other_download') @endif | {{@$value->upload_date != ""? dateConvert(@$value->upload_date):''}} |
@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->globalClasses != "" && $value->globalSections != "") @lang('study.all_students_of') ({{@$value->globalClasses->class_name.'->'.@$value->globalSections->section_name}}) @endif @if(@$value->classes != "" && $value->section ==null) @lang('study.all_students_of') ({{@$value->classes->class_name.'->'}} @lang('study.all_sections')) @endif |
@if(@$value->globalClasses != "") {{@$value->globalClasses->class_name}} @endif @if($value->globalSections != "") ({{@$value->globalSections->section_name}}) @endif @if($value->section == Null) ( @lang('study.all_sections') ) @endif | @if(moduleStatusCheck('University')){{@$value->unSection->section_name}} | @endif
@php
$routeList = [
''.__('common.view').'',
moduleStatusCheck('VideoWatch')== TRUE ?
''.__('study.seen').'' : null,
''.__('common.edit').'',
userPermission(91) ?
''.__('common.delete').'':null,
userPermission(90) && $value->upload_file != "" ?
'
'.__('common.download').'
'
:null
]
@endphp
|