@extends('admin.layout') @section('title', 'Orders') @section('admin-content')

Orders

Manage all customer orders

@foreach($orders as $order) @endforeach
Order # Customer Total Payment Status Date Action
{{ $order->order_number }}
{{ strtoupper(substr($order->user->name, 0, 1)) }}
{{ $order->user->name }}
₦{{ number_format($order->total, 0) }} {{ ucfirst($order->payment_status) }} {{ ucfirst($order->order_status) }} {{ $order->created_at->format('M d, Y') }} View
{{ $orders->links() }}
@endsection