{{ __('Role') }} {{ __('Name') }} {{-- {{ __('Permissions') }} --}} {{ __('Web dashboard') }} {{ __('Mobile app') }} {{ __('Setting') }} @foreach ($data as $key => $model) {{ userName($model->name) }} {{ $model->display_name }} {{-- @if(!empty($model->permissions)) @foreach($model->permissions as $v) {{ $v->name }} @endforeach @endif --}} @foreach (['can_login_web', 'can_login_mobile'] as $platformField) @if ($model->{$platformField}) {{ __('Allowed') }} @else {{ __('Not allowed') }} @endif @endforeach @include('admin.layouts.forms.dropdowns.dropdown', [ 'showEdit' => true]) @endforeach