@extends('admin.layouts.app') @section('panel')
@if (can('admin.users.detail') || can('admin.users.kyc.details')) @endif @forelse($users as $user) @if (can('admin.users.detail') || can('admin.users.kyc.details')) @endif @empty @endforelse
@lang('S.N.') @lang('User') @lang('Branch') @lang('Email') | @lang('Phone') @lang('Country') @lang('Joined At') @lang('Balance') | @lang('Account No.')@lang('Action')
{{ __($loop->index + $users->firstItem()) }} {{ __($user->fullname) }} @can('admin.users.detail') @{{ $user->username }} @else @{{ $user->username }} @endcan @if ($user->branch) {{ __(@$user->branch->name) }}
@can('admin.branch.staff.details') {{ __(@$user->branchStaff->name) }} @else {{ __(@$user->branchStaff->name) }} @endcan @else @lang('Online') @endif
{{ $user->email }}
{{ $user->mobile }}
{{ $user->country_code }} {{ showDateTime($user->created_at) }}
{{ diffForHumans($user->created_at) }}
{{ $general->cur_sym }}{{ showAmount($user->balance) }} {{ $user->account_number }}
@can('admin.users.detail') @lang('Details') @endcan @can('admin.users.kyc.details') @if (request()->routeIs('admin.users.kyc.pending')) @lang('KYC Data') @endif
@endcan
{{ __($emptyMessage) }}
@if ($users->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @endpush