@extends('admin.layouts.master') @section('title', 'All Instructors - Admin') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ __("Do you really want to delete these records? This process cannot be undone.")}}
| {{ __('Instructor Pic') }} | {{ __('Instructor Detail') }} | {{ __('Status') }} | {{ __('Action') }} | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @if($image = @file_get_contents('../public/images/user_img/'.$item->user_img)){{-- @if(isset($item->image)) | 
 | @if($item->status==1) {{ __('Approved') }} @else {{ __('Pending') }} @endif | @php
                        $show = $item;
                        @endphp
                        @if(isset($show)) {{__('View Instructor Details') }}
                                        
                                      @if($image = @file_get_contents('../public/images/user_img/'.$show->user_img))
                                       {{ $show->fname }} {{ $show['lname'] }}
 | 
{{ __("Do you really want to delete these records? This process cannot be undone.")}}
| {{ __('Image') }} | {{ __('Name') }} | {{ __('Email') }} | {{ __('Detail') }} | {{ __('Status') }} | {{ __('Action') }} | 
|---|---|---|---|---|---|
| {{$item->fname}} | {{$item->email}} | {{ str_limit($item->detail, $limit= 50, $end = '...')}} | @if($item->status==1) {{ __('Approved') }} @else {{ __('Pending') }} @endif | 
                                              @can('instructorrequest.edit')
                                              {{ __("View")}}
                                              @endcan
                                              @can('instructorrequest.delete')
                                              {{ __("Delete")}}
                                              @endcan
                                            
                                           |