Back to brands

Brand Staff Access

Which agents support which brands. An agent with no brands cannot sign in to the support desk at all.

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
@forelse ($staff as $agent)
@csrf @method('PUT')
{{ $agent->name }}
{{ $agent->email }}
@unless ($agent->is_active) Deactivated account @endunless
@foreach ($brands as $brand) @php $held = $agent->brands->contains($brand->id); @endphp @endforeach
@empty

No support staff accounts yet. Create a user with the staff role first.

@endforelse
@if ($superAdmins->isNotEmpty())

Super admins

Already have access to every brand. Listed for reference; no assignment needed.

    @foreach ($superAdmins as $admin)
  • {{ $admin->name }} {{ $admin->email }}
  • @endforeach
@endif