Unit

@php $roleUnit = isset($role) ? $role->units->pluck('id','id') : []; @endphp @forelse ($units as $index => $groupUnits)
@foreach ($groupUnits as $unit)
@endforeach
@empty ---- @endforelse