@extends('layouts.app') @section('title', 'Bangladesh Unbound - Edit Roles') @section('page-title', 'Roles') @section('breadcrumb') @endsection @section('content')

Coupons Edit Roles

Back to List
@csrf @method('POST')
@php $isLockedRole = in_array($role->name, [ 'super_admin', 'admin', 'team_leader', 'tour_guide', 'Super Admin', 'Admin', 'Team Leader', 'Tour Guide', 'team leader', 'tour guide', ]); @endphp @if ($isLockedRole) @endif @error('name') {{ $message }} @enderror
Assign Permissions
@foreach ($groupedPermissions as $section => $sectionPermissions) @php $sectionNameWithoutSpace = str_replace(' ', '', $section); @endphp
{{ $section }}
@foreach ($sectionPermissions as $permission)
id, $rolePermissionIds)) checked @endif>
@endforeach
@endforeach
Cancel
@endsection @push('scripts') @endpush