@extends('backend.layout.master-tailwind') @section('title', __('Clients')) @section('content') @php $hues = [120, 260, 280, 220, 30, 180, 300, 60, 200, 340]; $tabs = [ 'all' => ['label' => __('All'), 'count' => $countAll], 'pending' => ['label' => __('Needs review'), 'count' => $countPending], ]; @endphp
{{ number_format($countAll) }} {{ __('total') }} · {{ number_format($countPending) }} {{ __('awaiting verification') }} @if($flaggedWeek > 0)· {{ $flaggedWeek }} {{ __('suspended this week') }}@endif
| {{ __('Client') }} | {{ __('Status') }} | {{ __('Country') }} | {{ __('Orders') }} | {{ __('Total Spend') }} | {{ __('Rating') }} | {{ __('Joined') }} | ||
|---|---|---|---|---|---|---|---|---|
|
{{ $initials }}
{{ $name }}
@{{ $user->username ?? '—' }} · U-{{ $user->id }}
|
{{ $stLabel }} | @if($user->country_name) {{ Str::upper(substr($user->country_name, 0, 2)) }} @else — @endif | {{ number_format($user->cl_jobs) }} | ${{ number_format($user->cl_spend, 0) }} | @if($rating) ★ {{ $rating }} @else — @endif | {{ \Carbon\Carbon::parse($user->created_at)->format('Y-m-d') }} |
@if($user->is_suspend)
@else
@endif
@if(!$user->user_verified_status)
@endif
|
|
| {{ __('No clients found.') }} | ||||||||