@extends('admin.layout') @section('title', 'Dashboard') @section('content') {{-- Date Filter --}}
| User | Gói | Số tiền | Trạng thái |
|---|---|---|---|
| {{ $order->username }} | {{ strtoupper($order->plan_id) }} | {{ number_format($order->amount) }}đ | @if($order->status === 'completed') Completed @elseif($order->status === 'pending') Pending @else Mismatch@endif |
| Chưa có đơn hàng | |||
| Username | Gói | Ngày tạo | |
|---|---|---|---|
| {{ $user->username }} | {{ $user->email }} | @if($user->current_plan === 'pro')Pro @elseif($user->current_plan === 'premium')Premium @elseFree@endif | {{ $user->created_at ? \Carbon\Carbon::parse($user->created_at)->format('d/m/Y') : '—' }} |
| Chưa có user | |||