@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', (isset($page_title) ? $page_title : ''))
User Information
{{ $user->user_code }}

Name: {{ $user->name }}

Email: {{ $user->email }}

Phone: {{ $user->phone }}

Whatsapp: {{ $user->whatsapp }}

Address: {{ $user->address }}

Wallet Balance: ₹{{ number_format($user->wallet_balance, 2) }}

Gender: {{ $user->gender ?? 'N/A' }}

Date of Birth: {{ $user->dob ?? 'N/A' }}

KYC Status: {{ ucfirst($user->kyc_status) }}

Status: {{ $user->status == '1' ? 'Active' : 'Inactive' }}

Blocked: {{ $user->is_blocked == '0' ? 'No' : 'Yes' }}

Member Since: {{ $user->created_at->format('d M Y') }}

@forelse($user->bankDetails as $bankDetail)
@if($bankDetail->type == 'bank') Bank Account @elseif($bankDetail->type == 'upi') UPI @elseif($bankDetail->type == 'paypal') PayPal @endif
@if($bankDetail->default) Default @endif
@if($bankDetail->type == 'bank')
Account Holder Name

{{ $bankDetail->account_holder_name }}

Account Number

{{ $bankDetail->account_number }}

IFSC Code

{{ $bankDetail->ifsc_code }}

Account Type

{{ $bankDetail->account_type }}

@elseif($bankDetail->type == 'upi')
UPI ID

{{ $bankDetail->upi_id }}

@elseif($bankDetail->type == 'paypal')
PayPal Email

{{ $bankDetail->paypal_email }}

@endif
Added on: {{ $bankDetail->created_at->format('d M Y, h:i A') }}
@empty
No Bank Details Found

This user hasn't added any bank details yet.

@endforelse
@if($user->walletHistories && $user->walletHistories->count() > 0)
Wallet History
@foreach($user->walletHistories as $history) @endforeach
Transaction ID Amount Type Transaction Type Status Payment Status Date Details
{{ $history->transaction_id }} {{ $history->type == 'credit' ? '+' : '-' }} ₹{{ number_format($history->amount, 2) }} {{ ucfirst($history->type) }} {{ ucfirst($history->transaction_type) }} {{ ucfirst($history->status) }} @if($history->payment_status) {{ ucfirst($history->payment_status) }} @else - @endif {{ $history->created_at->format('d M Y, h:i A') }}
@endif
@if($user->walletHistories && $user->walletHistories->count() > 0) @foreach($user->walletHistories as $history) @endforeach @endif