@extends('layouts.admin') @section('title', 'Quản lý lịch sử rút tiền') @section('content')
{{ number_format($stats['total_withdrawals']) }}
Tổng giao dịch
{{ number_format($stats['total_coins_withdrawn']) }}
Tổng coins đã rút
{{ number_format($stats['average_withdrawal']) }}
Trung bình/giao dịch
{{ number_format($stats['today_withdrawals']) }}
Giao dịch hôm nay
{{ number_format($stats['today_coins_withdrawn']) }}
Coins rút hôm nay
Bộ lọc tìm kiếm
@if($withdrawals->count() > 0)
@foreach($withdrawals as $withdrawal) @endforeach
ID Tài khoản Mã giao dịch Số coins Nhân vật IP Address Trạng thái TK Thời gian Hành động
{{ $withdrawal->id }}
{{ $withdrawal->username }}
@if($withdrawal->Email) @endif
{{ $withdrawal->transaction_id }} {{ number_format($withdrawal->coins_spent) }} @php $itemData = json_decode($withdrawal->item_data, true); $characterName = $itemData['character_name'] ?? 'N/A'; @endphp {{ $characterName }} {{ $withdrawal->ip_address ?? 'N/A' }} @if($withdrawal->account_status == 1) Hoạt động @else Bị khóa @endif
{{ \Carbon\Carbon::parse($withdrawal->created_at)->format('d/m/Y H:i') }}
{{ \Carbon\Carbon::parse($withdrawal->created_at)->diffForHumans() }}
{{ $withdrawals->links() }}
@else

Không có dữ liệu

Không tìm thấy giao dịch rút tiền nào với bộ lọc hiện tại.

@endif
@endsection