@extends('layouts.admin') @section('title', __('Users')) @section('page-title', __('Users')) @section('content')
| {{ __('User') }} | {{ __('Status') }} | {{ __('Groups') }} | {{ __('Created') }} | {{ __('Actions') }} |
|---|---|---|---|---|
|
{{ $user->full_name }}
{{ $user->email }}
|
@php $statusColors = [ 'active' => 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200', 'inactive' => 'bg-white/10 text-admin-text-secondary', 'banned' => 'bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200', ]; @endphp {{ __(ucfirst($user->status)) }} | @if($user->userGroups->count() > 0) {{ $user->userGroups->pluck('name')->join(', ') }} @else {{ __('No groups') }} @endif | {{ $user->created_at->format('M d, Y') }} |
|
| {{ __('No users found.') }} | ||||
| {{ __('Customer') }} | {{ __('Plan/Group') }} | {{ __('Status') }} | {{ __('Created') }} | {{ __('Actions') }} |
|---|---|---|---|---|
|
{{ $customer->full_name }}
{{ $customer->email }}
|
@if($customer->customerGroups->count() > 0) {{ $customer->customerGroups->pluck('name')->join(', ') }} @else - @endif | @php $statusColors = [ 'active' => 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200', 'inactive' => 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300', 'pending' => 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200', 'suspended' => 'bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200', ]; @endphp {{ __(ucfirst($customer->status)) }} | {{ $customer->created_at->format('M d, Y') }} |
|
| {{ __('No customers found.') }} | ||||