{{ __('Invite by Email') }} {{ __('New User') }}
    @forelse ($users as $user)
  • {{ \Illuminate\Support\Str::of($user->name)->substr(0, 1)->upper() }}

    {{ $user->name }}

    @if ($user->is_super_admin) {{ __('Super Admin') }} @endif @if ($user->isSuspended()) {{ __('Suspended') }} @endif

    {{ $user->email }}

    @if ($user->isOnline()) {{ __('Online now') }} @elseif ($user->last_login_at) {{ __('Last login :when', ['when' => $user->last_login_at->diffForHumans()]) }} @else {{ __('Never logged in') }} @endif

    @php $owned = $user->ownedTeams; $member = $user->teams; @endphp @forelse ($member as $team)
    {{ $team->name }}
    @empty @endforelse @foreach ($owned as $team)
    {{ $team->name }} {{ __('Owner') }}
    @endforeach @if ($member->isEmpty() && $owned->isEmpty()) {{ __('No company') }} @endif @if ($user->id !== auth()->id() && ! $user->is_super_admin) @if ($user->isSuspended()) @else @endif @endif @if ($user->id !== auth()->id() && $owned->isEmpty()) @elseif ($owned->isNotEmpty()) {{ __('Owner, delete the company to remove') }} @endif
  • @empty
  • @endforelse
{{ $users->links() }}
{{ $mode === 'invite' ? __('Invite User by Email') : __('New User') }}
@if ($mode === 'create')
@endif
@if ($mode === 'create')

{{ __('Share this with the user. They can change it from their profile after signing in.') }}

@endif

{{ __('“Manager” grants all operations except company settings and member management.') }}

{{ __('Cancel') }} {{ $mode === 'invite' ? __('Send Invitation') : __('Create User') }}
{{ $assignFromTeamId ? __('Move :name to another company', ['name' => $assignUserName]) : __('Assign :name to a company', ['name' => $assignUserName]) }} @if ($assignableCompanies->isEmpty())
{{ __('There is no other company to move them to. Create one first from Companies.') }}
@else
@if ($assignFromTeamId)

{{ __('They will be removed from :from and added to the company you pick below.', ['from' => $assignFromTeamName]) }}

@else

{{ __('This adds another company membership. Existing companies are left untouched.') }}

@endif
@if ($assignFromTeamId && $assignHasCustomAccess) @endif
@endif
{{ __('Cancel') }} @unless ($assignableCompanies->isEmpty()) {{ $assignFromTeamId ? __('Move user') : __('Assign company') }} @endunless
{{ __('Access for :name', ['name' => $accessUserName]) }} @if ($accessIsOwner)
{{ __('This user owns the company and always has full access. Their access cannot be restricted here.') }}
@else @php $groups = \App\Support\AccessMatrix::groups($accessHousehold); $specialDefs = \App\Support\AccessMatrix::specials(); @endphp

{{ __('Tick which pages this user can reach and whether they can edit or only view. This overrides their role for this company.') }} @unless ($accessIsCustom) {{ __('(Currently following the role.)') }} @endunless

{{ __('Load preset') }}
@foreach ($groups as $group)

{{ __($group['label']) }}

@foreach ($group['modules'] as $module) @php $viewOnly = $module['edit'] === []; @endphp
{{ __($module['label']) }}
@unless ($viewOnly) @else {{ __('view only') }} @endunless
@endforeach
@endforeach

{{ __('Special features') }}

@foreach ($specialDefs as $ability => $label) @endforeach
@endif
@if ($accessIsCustom && ! $accessIsOwner) {{ __('Reset to role') }} @endif {{ __('Cancel') }} @unless ($accessIsOwner) {{ __('Save access') }} @endunless