@extends('admin.layout') @section('title', 'Orders Management') @section('styles') @endsection @section('content')
| Order ID | User | Phone | Amount | Status | Date | Actions | |
|---|---|---|---|---|---|---|---|
| {{ $order->order_number }} @if($order->order_type === 'exchange') EXCHANGE @else TOPUP @endif |
{{ $order->user->name }}
{{ $order->user->email }}
|
{{ $order->user->phone ?? 'N/A' }}
|
₵{{ number_format($order->ghs_amount, 2) }}
¥{{ number_format($order->cny_amount, 2) }}
|
@if($order->status === 'completed') Completed @elseif($order->status === 'processing') Processing @elseif($order->status === 'cancelled') Cancelled @else Pending @endif | {{ $order->created_at->format('M d, Y') }} {{ $order->created_at->format('g:i A') }} |
||
|
No orders found |
|||||||
No orders found