@extends('backend.layouts.master') @section('content')

{{ $page_title ?? '' }}

{{ translate('Go Back') }} {{ translate('Go Back') }}
{{ translate('Wallet Available Balance') }}

{{ currency_symbol() . $customerSingle->wallet_balance }}

{{ translate('Total Deposits Amount') }}

{{ currency_symbol() . $customerSingle->transactions->where('type', 1)->sum('amount') }}

{{ translate('Total Bids') }}

{{ $customerSingle->transactions->where('type', 2)->count() }}

{{ translate('Total Orders') }}

{{ $customerSingle->transactions->where('type', 3)->count() }}

@if ($customerSingle->image) {{ $customerSingle->username }} @else {{ $customerSingle->username }} @endif

{{ $customerSingle->fname . ' ' . $customerSingle->lname }}

{{ '@' . $customerSingle->username }}

{{ translate('Joined At') }} {{ date('d F, Y', strtotime($customerSingle->created_at)) }}
@if ($customerSingle->email)
{{ translate('Email') }}

{{ $customerSingle->email }}

@endif @if ($customerSingle->phone)
{{ translate('Mobile Number') }}

{{ $customerSingle->phone }}

@endif @if ($customerSingle->country_id)
{{ translate('Country') }}

{{ $customerSingle->countries->name }}

@endif @if ($customerSingle->state_id)
{{ translate('State') }}

{{ $customerSingle->states->name ?? '' }}

@endif @if ($customerSingle->city_id)
{{ translate('City') }}

{{ $customerSingle->cities->name ?? '' }}

@endif @if ($customerSingle->zip_code)
{{ translate('Postal Code') }}

{{ $customerSingle->zip_code }}

@endif @if ($customerSingle->address)
{{ translate('Address') }}

{{ $customerSingle->address ?? '' }}

@endif

{{ translate('Order / Direct - Bidding') }}

@if ($orders->count() > 0) @foreach ($orders as $key => $order) @endforeach @else @endif
{{ translate('Order Number') }} {{ translate('Date') }} {{ translate('Customer Name') }} {{ translate('Product') }} {{ translate('Type') }} {{ translate('Amount') }} {{ translate('Status') }}
{{ $order->order_number }} {{ dateFormat($order->created_at) }} {{ $order->users->fname ? $order->users->fname . ' ' . $order->users->lname : '' }} {{ $order->products->name }} @if ($order->type == 2) @else @endif {{ currency_symbol() . $order->amount }} @if ($order->status == 1) @elseif($order->status == 2) @elseif($order->status == 3) @elseif($order->status == 7) @elseif($order->status == 4) @elseif($order->status == 5) @elseif($order->status == 6) @endif
{{ translate('Data not found') }}

{{ translate('Deposit List') }}

@if ($deposits->count() > 0) @foreach ($deposits as $deposit) @endforeach @else @endif
{{ translate('Date') }} {{ translate('Method') }} {{ translate('Transaction ID') }} {{ translate('Currency') }} {{ translate('Amount') }} {{ translate('Status') }}
{{ dateFormat($deposit->created_at) }} {{ Ucfirst($deposit->payment_method) }} {{ $deposit->transaction_id }} {{ $deposit->currency }} {{ currency_symbol() . $deposit->amount }} @if ($deposit->status == 1) {{ translate('Processing') }} @elseif($deposit->status == 2) {{ translate('Completed') }}@else{{ translate('Cancel') }} @endif
{{ translate('No Data Found') }}
{{--
@if ($customerSingle->country_id) @endif @if ($customerSingle->state_id) @endif @if ($customerSingle->city_id) @endif @if ($customerSingle->zip_code) @endif
{{ translate('Country') }} {{ $customerSingle->countries->name }} {{ $customerSingle->countries->name }}
{{ translate('Email') }}: {{ $customerSingle->email }}
{{ translate('Mobile Number') }}: {{ $customerSingle->phone }}
{{ translate('Address') }}: {{ $customerSingle->address }}
{{ translate('State') }}: {{ $customerSingle->states->name }}
{{ translate('City') }}: {{ $customerSingle->cities->name }}
{{ translate('Zip/Postal Code') }}: {{ $customerSingle->zip_code }}
--}} @endsection