@extends('admin.layouts.master') @section('title', 'Institute - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('Institute') }} @endslot @slot('menu1') {{ __('Institute') }} @endslot @slot('button')
{{ __("Add Institute")}} Export
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('Institute')}}
@if(Auth::User()->role == "admin") @foreach($institute as $key => $item) @endforeach
{{ __('Id') }} {{ __('Image') }} {{ __('Name') }} {{ __('Detail') }} {{ __('Skills') }} {{ __('Status') }} {{ __('Verify') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{ucfirst($item->title)}} {{ucfirst($item->detail)}} {{ucfirst($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') }} {{ __('Name') }} {{ __('Detail') }} {{ __('Skills') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{ucfirst($value->title)}} {{ucfirst($value->detail)}} {{ucfirst($value->skill)}}
@endif
@endsection @section('script') @endsection