@extends('layouts/contentNavbarLayout') @section('title', 'Designplus - Permission Group') @section('content')

Permission / Manage Permission


@if ($errors->any())
@endif @if (session('success'))
{{ session('success') }}
@endif
@csrf
@foreach ($tableNames as $table) @if ( $table != 'migrations' && $table != 'personal_access_tokens' && $table != 'career_enquiries' && $table != 'faqs' && $table != 'media_categories' && $table != 'project_galleries' && $table != 'testimonial_videos' && $table != 'user_group' && $table != 'project_category' && $table != 'authers' && $table != 'career' && $table != 'blog_category' && $table != 'blog_comments' && $table != 'blog_gallerys' && $table != 'blog_tags' && $table != 'event_category' && $table != 'event_faqs' && $table != 'event_gallerys')
{{ $table }}
@error("permissions.{$table}.add") {{ $message }} @enderror @error("permissions.{$table}.edit") {{ $message }} @enderror @error("permissions.{$table}.view") {{ $message }} @enderror @error("permissions.{$table}.delete") {{ $message }} @enderror @php // Check if the permission exists for the current table $existingPermission = $existingPermissions->where('url', $table)->first(); @endphp
adds) checked @endif>
edits) checked @endif>
views) checked @endif>
deletes) checked @endif>

@endif @endforeach

@endsection