@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(hasPermission('usertype', 'update') || hasPermission('usertype', 'delete')) @endif {{-- Status column --}} @if(hasPermission('usertype', 'status')) @endif @foreach($usertype as $row) @if(hasPermission('usertype', 'update') || hasPermission('usertype', 'delete')) @endif {{-- Type name --}} {{-- Status --}} @if(hasPermission('usertype', 'status')) @endif @endforeach
ActionTypeStatus
{{-- Edit --}} @if(hasPermission('usertype', 'update')) @endif {{-- Delete --}} @if(hasPermission('usertype', 'delete') && $row->id != 1) @endif
@if($row->status == 1) Active @else Inactive @endif
@include('layouts.footer')