@unless ($hiring)
{{ __('Add someone') }}
@endunless
@if ($unsentPassword)
{{ __('Their password is') }} {{ $unsentPassword }}.
{{ __('It is shown once - pass it on now.') }}
@endif
@if ($hiring)
@endif
@forelse ($staff as $member)
@php($active = (bool) $member->staff?->is_active)
{{ $member->name }}
{{ __('since :date', ['date' => $member->pivot?->created_at?->format('d M Y') ?? '—']) }}
{{ $member->email }}
{{ $member->phone }}
{{ $member->pivot?->role ?? 'manager' }}
@if ($active)
{{ __('active') }}
@else
{{ __('suspended') }}
@endif
@if ($active)
{{ __('Suspend') }}
@else
{{ __('Reactivate') }}
@endif
{{ __('Remove') }}
@empty
{{ __('Nobody yet. You are running this alone.') }}
@endforelse