@extends('admin.layouts.master') @php use \App\Enums\UserStatus as uStatus; use \App\Enums\UserRoles as uRole; $base_currency = base_currency(); @endphp @section('content')

{{ __('User') }} / {{ __($user->name) }}

  • {{ __('User ID:') }} {{ the_uid($user->id) }}
  • {{ __('Email:') }} {{ $user->is_verified ? __('Verified') : __('Pending') }}
  • {{ __('Account Status:') }} {{ __(ucfirst($user->status)) }}
{{-- nk-block-head --}}
@include('admin.user.'.$type)
{!! user_avatar($user, 'lg') !!}
  • @if(auth()->user()->id !== $user->id)
  • @if($user->status!=uStatus::LOCKED)
  • @endif @if($user->status!=uStatus::ACTIVE)
  • @endif @if($user->status!=uStatus::SUSPEND)
  • @endif @else
  • @endif
@if($user->role==uRole::USER)
{{ __("Main Account") }}
{{ money($user->balance(AccType('main')), '') }} {{ $base_currency }} {{ __("Available Balance") }}
{{ money($user->balance('locked_amount'), '') }} {{ __("Locked Amount") }}
{{ __("Invested Account") }}
{{ money($user->balance(AccType('invest')), '') }} {{ $base_currency }} {{ __("Investment Wallet") }}
{{ money($user->balance('active_invest'), '') }} {{ __("Active Investment") }}
@endif
{{ __('Additional') }}
{{ __('User ID:') }} {{ the_uid($user->id) }}
{{ __('Last Login:') }} {!! ($user->last_login) ? show_date($user->last_login) : ''.__('Not yet').'' !!}
{{ __('Email Status:') }} @if($user->is_verified) {{ __('Verified') }} @else {{ __('Pending') }} @endif
{{ __('Register At:') }} {{ show_date($user->created_at) }}
{{-- card-aside --}}
{{-- nk-block --}}
@endsection @push('modal') {{-- Send Email Modal --}} @endpush @push('scripts') @endpush