@extends('layouts.admin') @section('title', 'Chi tiết giao dịch rút tiền #' . $withdrawal->id) @section('content')
Quay lại danh sách
Thông tin giao dịch
ID Giao dịch: {{ $withdrawal->id }}
Mã giao dịch: {{ $withdrawal->transaction_id }}
Số coins rút: {{ number_format($withdrawal->coins_spent) }}
Loại giao dịch: {{ $withdrawal->item_type }}
Tên dịch vụ: {{ $withdrawal->item_name }}
@if($withdrawal->description)
Mô tả: {{ $withdrawal->description }}
@endif
IP Address: {{ $withdrawal->ip_address ?? 'N/A' }}
Thời gian tạo: {{ \Carbon\Carbon::parse($withdrawal->created_at)->format('d/m/Y H:i:s') }}
{{ \Carbon\Carbon::parse($withdrawal->created_at)->diffForHumans() }}
@if($itemData)
Chi tiết giao dịch:
{{ json_encode($itemData, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
@endif
Thông tin tài khoản
Username: {{ $withdrawal->username }}
Email: {{ $withdrawal->Email ?? 'N/A' }}
Trạng thái: @if($withdrawal->account_status == 1) Hoạt động @else Bị khóa @endif
Ngày tạo TK: {{ $withdrawal->account_created ? \Carbon\Carbon::parse($withdrawal->account_created)->format('d/m/Y') : 'N/A' }}
Đăng nhập cuối: {{ $withdrawal->last_login ? \Carbon\Carbon::parse($withdrawal->last_login)->format('d/m/Y H:i') : 'N/A' }}
@if($itemData && isset($itemData['character_name']))
Nhân vật nhận: {{ $itemData['character_name'] }}
@endif @if($itemData && isset($itemData['game_userid']))
Game User ID: {{ $itemData['game_userid'] }}
@endif
Lịch sử rút tiền khác của {{ $withdrawal->username }}
@if($userWithdrawals->count() > 0) @foreach($userWithdrawals as $userWithdrawal) @endforeach
ID Mã giao dịch Số coins Nhân vật Thời gian
{{ $userWithdrawal->id }} {{ $userWithdrawal->transaction_id }} {{ number_format($userWithdrawal->coins_spent) }} @php $userData = json_decode($userWithdrawal->item_data, true); $characterName = $userData['character_name'] ?? 'N/A'; @endphp {{ $characterName }} {{ \Carbon\Carbon::parse($userWithdrawal->created_at)->format('d/m/Y H:i') }}
@else

Không có giao dịch rút tiền nào khác

@endif
@endsection