@extends('layouts.user') @section('title') @lang('User Dashboard') @endsection @section('breadcrumb') @lang('Dashboard') @endsection @section('content')
{{numFormat($totalTransferMoney,2)}} {{$gs->curr_code}} *
@lang('Total Money Transfered')
{{numFormat($totalDeposit,2)}} {{$gs->curr_code}} *
@lang('Total Deposit')
{{numFormat($totalWithdraw,2)}} {{$gs->curr_code}} *
@lang('Total Withdraw')
{{numFormat($totalExchange,2)}} {{$gs->curr_code}} *
@lang('Total Exchange')

@lang('Latest Transactions')

@php // dd($transactions) @endphp @forelse ($transactions as $item) @empty @endforelse
@lang('Date') @lang('Description') @lang('Remark') @lang('Amount') @lang('Details')
{{dateFormat($item->created_at,'d-M-Y')}} {{__($item->details)}} {{ucwords(str_replace('_',' ',$item->remark))}} {{$item->type}} @if ($item->type == '-') {{amount(($item->amount + $item->charge),$item->currency->type,2)}} @else {{amount($item->amount,$item->currency->type,2)}} @endif {{$item->currency->code}}
@lang('No data found')

@lang('Your Wallets')

@foreach ($wallets as $item)
{{$item->currency->symbol}}
{{amount($item->balance,$item->currency->type,2)}} {{$item->currency->code}}
{{$item->currency->curr_name}}
@endforeach
@endsection @push('script') @endpush