@extends('layouts.admin') @section('title', 'Quản lý nạp kim cương - MU Admin Panel') @section('styles') @endsection @section('content') @if(session('success'))
✅ {{ session('success') }}
@endif
📊
{{ number_format($stats['today_total']) }}đ
Tổng nạp hôm nay
🔢
{{ $stats['today_count'] }}
Giao dịch hôm nay
📈
{{ number_format($stats['month_total']) }}đ
Tổng nạp tháng này
{{ $stats['pending_count'] }}
Giao dịch chờ xử lý
💰
{{ number_format($stats['customer_today_total']) }}đ
Khách hàng hôm nay
👥
{{ number_format($stats['founder_today_total']) }}đ
Team sáng lập hôm nay

📋 Lịch sử nạp kim cương ({{ $recharges->total() }} giao dịch)

@if($recharges->count() > 0)
← Vuốt để xem thêm →
@foreach($recharges as $recharge) @endforeach
ID Tài khoản Số tiền Kim cương Thưởng nạp Loại Phân loại Trạng thái Mã GD Thời gian Hành động
{{ $recharge->id }} {{ $recharge->username }} @if($recharge->Email)
{{ $recharge->Email }} @endif
{{ number_format($recharge->amount_vnd) }}đ {{ number_format($recharge->coins_added) }} 💎 @if(isset($recharge->base_coins) && isset($recharge->bonus_coins))
Gốc: {{ number_format($recharge->base_coins) }} + Thưởng: {{ number_format($recharge->bonus_coins) }} @endif
@if(isset($recharge->bonus_percentage)) {{ $recharge->bonus_percentage }}% @else - @endif {{ ucfirst($recharge->type) }} @if(isset($recharge->recharge_category)) @if($recharge->recharge_category === 'founder_team') 👥 Team sáng lập @else 💰 Khách hàng @endif @else 💰 Khách hàng @endif @switch($recharge->status) @case('completed') ✅ Hoàn thành @break @case('pending') ⏳ Chờ xử lý @break @case('failed') ❌ Thất bại @break @default {{ $recharge->status }} @endswitch {{ $recharge->transaction_id }} {{ date('d/m/Y H:i', strtotime($recharge->created_at)) }}
{{ $recharges->appends(request()->query())->links('pagination.custom') }} @else

💎 Chưa có giao dịch nạp coins nào

Hãy thử thay đổi bộ lọc hoặc tạo giao dịch nạp coins web

@endif
@endsection @section('scripts') @endsection