@extends('layouts.app') @section('content')
@include('layouts.navigation')
@foreach($data as $key => $value) @endforeach
S.No. User Type Name Image Action
{{ $key + 1 }} {{ $value->name }} @if($value->image) @if(pathinfo($value->image, PATHINFO_EXTENSION) == 'svg') {!! file_get_contents(public_path('uploads/usertype/'.$value->image)) !!} @else Image @endif @endif
    @can('update permission')
  • @endcan @can('delete permission')
  • @endcan
{{-- Scripts --}}
@endsection