@extends('layout.main') @section('content')
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@if(isset($permission))
@method('PUT') @else @endif @csrf @php // This should be provided by the controller // $permissionAction and $permissionModel @endphp

الصلاحية

{{-- --}}

القسم

{!! $dataTable->table(['class' => 'table table-bordered table-hover dataTable']) !!}
@endsection @push('scripts') {{ $dataTable->scripts() }} @endpush