@extends('admin.layout') @section('content')

All Permission

@can('create-permission')   Create New Permission @endcan
@foreach($permissions as $permission) @endforeach
Date & Time Name Referance Code Name Actions
{{ date('d-m-Y', strtotime($permission->created_at)) }} {{ ucwords(str_replace('_', ' ', $permission->title)) }} {{ ucwords(str_replace('_', ' ', $permission->name)) }} @can('update-permission') @endcan @can('delete-permission')
{{ method_field('DELETE') }} {{ csrf_field() }}
@endcan
@endsection