@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")}}
@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) }} {{$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') }} {{ __('Name') }} {{ __('Detail') }} {{ __('Skills') }} {{ __('Action') }}
{{ filter_var($key+1) }} {{$value->title}} {{$value->detail}} {{$value->skill}}
@endif
@endsection @section('script') @endsection