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

Permissions Management

@if(Session::has('error_message')) @endif @if(Session::has('success_message')) @endif @if ($errors->any()) @endif

Manage Permissions

@csrf @if(!empty($subadminRoles)) @foreach($subadminRoles as $role) @if($role['module']=="cms_pages") @if($role['view']==1) @php $viewCMSPages = "checked" @endphp @else @php $viewCMSPages = "" @endphp @endif @if($role['edit']==1) @php $editCMSPages = "checked" @endphp @else @php $editCMSPages = "" @endphp @endif @if($role['full']==1) @php $fullCMSPages = "checked" @endphp @else @php $fullCMSPages = "" @endphp @endif @endif @endforeach @endif
@include('admin.layout.footer')
@endsection