@extends('layouts.master') @section('title') {{ $title }} @endsection @section('css') @endsection @section('body') @endsection @section('content') @component('components.breadcrumb') @slot('page_title') {{ $title }} @endslot @slot('subtitle') {{ $plural }} @endslot @endcomponent

{{ $title }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- @php echo "
";
                            print_r($record->user);
                            echo "
"; @endphp --}}
@csrf @method('PUT')
@if ($current_organization)
{{ $current_organization->name }} @else @endif
{{--
--}}

@php // print_r($record->user->getRoleNames()->toArray()); // die(); @endphp @foreach ($roles as $role)
user->getRoleNames()->toArray())) && in_array($role->name, old('roles', $record->user->getRoleNames()->toArray())) ? 'checked' : '' }}>
@endforeach @error('roles')
{{ $message }}
@enderror

@if ($record->state_id_image_1) @endif @if ($record->state_id_image_2)
State ID Back Image
@endif
@endsection @section('scripts') @endsection