@extends('admin.layout') @section('title', 'Quản lý đơn hàng') @section('greeting') QUẢN LÝ ĐƠN HÀNG @endsection @section('subtitle') Theo dõi và xử lý các đơn hàng @endsection @section('content')
| ID | User | Gói | Số tiền | Nội dung CK | Trạng thái | Ngày tạo | Actions |
|---|---|---|---|---|---|---|---|
| #{{ $order->id }} | {{ $order->username }} | {{ strtoupper($order->plan_id) }} | {{ number_format($order->amount) }}đ | {{ $order->transfer_content }} | @if($order->status === 'completed') Completed @elseif($order->status === 'pending') Pending @else Mismatch@endif | {{ \Carbon\Carbon::parse($order->created_at)->format('d/m/Y H:i') }} |
@if($order->status !== 'completed')
@endif
@if($order->status === 'completed')
@endif
|
| Không có đơn hàng. | |||||||