@extends('backend.layout') @section('titre') Administrateurs @endsection @section('content') @php $modele='admins' @endphp @if (session('successMsg')) @endif
Liste des Access pour " {{$admin->name}} "
@foreach($categoriepermissions as $categoriepermission) @foreach($categoriepermission->permissions as $permission) @endforeach @endforeach
ID Droit Etat Action
{{$categoriepermission->name}}
{{$permission->name}}
@if($admin->has_permission($admin->id,$permission->id)==1) @else @endif
@if($admin->has_permission($admin->id,$permission->id)==1) @else @endif
@endsection