@unless ($hiring) {{ __('Add someone') }} @endunless @if ($unsentPassword) @endif @if ($hiring)

{{ __('Staff can accept and decline orders, assign drivers and manage products. They cannot see your wallet, your settings or this page.') }}

{{ __('Cancel') }} {{ __('Create the account') }}
@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