@extends('admin.layouts.master') @section('title', 'Institute - Admin') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Institutes')}}
@can('institute.create') {{ __("Add Institute")}} @endcan {{ csrf_field() }} {{ __("Import")}}
@if(Auth::User()->role == "admin") @foreach($institute as $key => $item) @endforeach
{{ __('Id') }} {{ __('Image') }} {{ __('Institute Name') }} {{ __('Details') }} {{ __('Skills') }} {{ __('Status') }} {{ __('Verify') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{$item->title}} {{$item->detail}} {{$item->skill}}
@endif @if(Auth::User()->role == "instructor") @php $insti = App\Institute::where('user_id',Auth::User()->id) ->where('status',1) ->get(); @endphp @foreach($insti as $key => $value) @endforeach
{{ __('Id') }} {{ __('Image') }} {{ __('Institutes') }} {{ __('Details') }} {{ __('Skills') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{$value->title}} {{$value->detail}} {{$value->skill}}
@endif
@endsection @section('script') @endsection