@extends('layouts.app') @section('title', _lang('All Users')) @section('content')

{{ _lang('All Users') }}

{{ _lang('All organization owners and staff across the platform.') }}

@include('partials.alerts')
{{ _lang('Users') }}
@forelse ($users as $user) @empty @endforelse
{{ _lang('Name') }} {{ _lang('Email') }} {{ _lang('Organization') }} {{ _lang('Type') }} {{ _lang('Status') }} {{ _lang('Actions') }}
{{ $user->name }} {{ $user->email }} {{ $user->organization?->name ?? '—' }} @if ($user->user_type === 'user') {{ _lang('Owner') }} @else {{ _lang('Staff') }} @endif @if ($user->status) {{ _lang('Active') }} @else {{ _lang('Disabled') }} @endif
@csrf
@csrf
{{ _lang('No users found.') }}
@if ($users->hasPages()) @endif
@endsection