{{ __('Invite Users') }}

@if (session('success'))
{{ session('success') }}
@endif @if (session('invalid_emails'))
{{ session('invalid_emails') }}
@endif @if (session('failed_invitations'))
{{ session('failed_invitations') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf

@if ($user->isManager()) As a Manager, you can only invite Agents for your partner. @else Select the role for the invited users. @endif

@if ($user->isAdmin())

Required for Manager and Agent roles. Optional for Admin users only.

@if ($partners->isEmpty())

No active logistic partners exist yet. Create a partner to invite Manager or Agent users.

@endif
@elseif ($user->isManager())

{{ $partners->first()->name ?? 'Your Partner' }}

@if (empty($user->logistic_partner_id))

Your account is missing a logistic partner. Please contact an admin.

@endif
@endif

Enter multiple email addresses separated by commas, semicolons, spaces, or new lines.

Cancel

Instructions

  • Select the role for the users you want to invite
  • @if ($user->isAdmin())
  • For Manager and Agent roles, select the logistic partner
  • For Admin role, leave the partner field empty
  • @endif
  • Enter email addresses in the text area (one per line or separated by commas/semicolons)
  • Invalid email addresses will be reported but won't block valid invitations
  • Users will receive an email with a registration link valid for 7 days
  • Invited users will have "Non-active" status until they complete registration
@if ($user->isAdmin()) @endif