@extends('admin.layout') @section('title', 'Đơn #' . $order->id) @section('heading', 'Kiểm tra lại giao dịch #' . $order->id) @section('content') ← Danh sách giao dịch

Thông tin giao dịch

@include('admin.partials.status', ['status' => $order->status])
ID giao dịch#{{ $order->id }}
Loại{{ $order->type === 'topup_game' ? 'Nạp game' : 'Mua thẻ' }}
Sản phẩm / Game{{ $order->product }}
Chi tiết (ID nhân vật / email){{ $order->detail ?: '—' }}
Số lượng{{ $order->quantity }}
Giá tiền thanh toán{{ number_format($order->amount, 0, ',', '.') }}đ
Tiền ảo nhận được{{ $order->virtual_amount ? number_format($order->virtual_amount).' '.$order->virtual_currency : '—' }}
Loại tiền thanh toán{{ strtoupper($order->payment_method) }}
Số dư sau giao dịch{{ is_null($order->balance_after) ? '—' : number_format($order->balance_after, 0, ',', '.').'đ' }}
Thời gian{{ $order->created_at->format('H:i d/m/Y') }}

Khách hàng

Tên{{ $order->user->name ?? 'Khách vãng lai' }}
Số điện thoại{{ $order->user->phone ?? '—' }}
Email{{ $order->user->email ?? '—' }}
Số dư hiện tại{{ isset($order->user) ? number_format($order->user->balance, 0, ',', '.').'đ' : '—' }}

Duyệt giao dịch

@csrf
@endsection