@extends('admin/layouts.master') @section('title', 'Involve Request - Instructor') @section('body')
@include('admin.message')

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

@foreach($involve_requests as $item) {{-- @dd($item->course->user->id); --}} @if(Auth::user()->id == $item->course->user->id) @endif @endforeach
{{ __('adminstaticword.Image') }} {{ __('adminstaticword.Name') }} {{ __('adminstaticword.Email') }} {{ __('adminstaticword.Course') }} {{ __('adminstaticword.Status') }} {{ __('adminstaticword.Accept') }} {{ __('adminstaticword.Reject') }}
@if($item->user->user_img != null || $item->user->user_img !='') @else User Image @endif {{$item->user->fname}} {{$item->user->email}} {{ $item->course->title}} @if($item->status==1) {{ __('adminstaticword.Approved') }} @else {{ __('adminstaticword.Pending') }} @endif @if($item->status == 0)
{{ csrf_field() }}
@else {{__('adminstaticword.AcceptedByInstructor')}} {{$item->course->user->fname}} @endif
{{ csrf_field() }} {{ method_field('DELETE') }}
@endsection