@extends('admin/layouts.master') @section('title', 'View All Request Course - Admin') @section('body')

{{ __('adminstaticword.InvolvementCourse') }}

{{-- + {{ __('adminstaticword.Add') }} {{ __('adminstaticword.Course') }} --}}
{{-- --}} {{-- --}} @if(Auth::User()->role == "admin" || Auth::User()->role == "instructor") @foreach($all_course as $cat) @endforeach @endif
# {{ __('adminstaticword.Image') }} {{ __('adminstaticword.Title') }}{{ __('adminstaticword.Instructor') }}{{ __('adminstaticword.Slug') }} {{ __('adminstaticword.Featured') }} {{ __('adminstaticword.Status') }} {{ __('adminstaticword.Edit') }}{{ __('adminstaticword.Delete') }}
1 @if($cat['preview_image'] != NULL && $cat['preview_image'] != '') @else @endif {{$cat->title}} {{$cat->slug}}
{{ csrf_field() }}
{{ csrf_field() }}
@php $involvement = App\Involvement::get(); @endphp @if(isset($involvement) && count($involvement)>0) @foreach($involvement as $involve_course) @if($involve_course->user_id == Auth::user()->id && $cat->id == $involve_course->course_id) {{ __('adminstaticword.AlreadyRequest') }} @else @endif @endforeach @else @endif
@endsection