@can('massDelete', \App\Models\User::class)
|
@endcan
|
{{ $user->nice_name }} |
{{ $user->name }} |
{{ $user->email }} |
{{ optional($user->role)->name }}
|
{{ $user->active ? trans('app.active') : trans('app.inactive') }} |
@can('view', $user)
@endcan
@can('secretLogin', $user)
@endcan
@can('update', $user)
@if ($user->primaryAddress)
@else
@endif
@endcan
@can('delete', $user)
{!! Form::open(['route' => ['admin.admin.user.trash', $user->id], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endcan
|
@endforeach