@extends('layouts.admin') @section('title') @lang('User Details') @endsection @section('breadcrumb')

@lang('User Details')

@lang('Back')
@endsection @section('content')
@lang('User Wallets')

@lang('User details')

@csrf
@if (access('update user'))
@endif
  • @lang('Information')
  • @lang('Total Deposited') {{$data['totalDeposit']}} {{$gs->curr_code}}
  • @lang('Total Withdraw') {{$data['totalWithdraw']}} {{$gs->curr_code}}
  • @if (access('user login'))
  • @lang('Login to User') @lang('Login')
  • @endif
  • @lang('User Login Info') @lang('View')
@php $transactions = $user->transactions()->paginate(10); @endphp @forelse($transactions as $item) @empty @endforelse
@lang('Date') @lang('User') @lang('Transaction ID') @lang('Description') @lang('Remark') @lang('Amount') @lang('Charge')
{{dateFormat($item->created_at,'d-M-Y')}} @if ($item->user_type == 1) {{$item->user->name}} @elseif($item->user_type == 2) {{$item->merchant->name}} @elseif($item->user_type == 3) {{$item->agent->name}} @endif {{__($item->trnx)}} {{__($item->details)}} {{ucwords(str_replace('_',' ',$item->remark))}} {{$item->type}} {{amount($item->amount,$item->currency->type,2)}} {{$item->currency->code}} {{amount($item->charge,$item->currency->type,2)}} {{$item->currency->code}}
@lang('No data found!')
@if ($transactions->hasPages()) @endif
@if(access('user balance modify')) @endif @endsection @push('script') @endpush @push('style') @endpush