@extends('template.content') @section('content')
 back to menu role

{{$title}} ({{$row->name}})

@csrf @foreach($menu as $key) @php $data = Nfs::roleAccess($row->id,$key->id); @endphp @if($data) @else @endif @push('js') @endpush @endforeach
Menu is view is create is edit is detail is delete
{{$key->name}} @if($data->is_view=="true")
@else
@endif
@if($data->is_create=="true")
@else
@endif
@if($data->is_edit=="true")
@else
@endif
@if($data->is_detail=="true")
@else
@endif
@if($data->is_delete=="true")
@else
@endif

@endsection