@extends('layouts.admin') @section('title', 'Manage Orders') @section('heading', 'Orders') @section('content')
@foreach ($orders as $order) @endforeach
Order Customer Email Status Total Placed
{{ $order->order_number }} {{ $order->customer_name }} {{ $order->email }} {{ ucfirst($order->status) }} ${{ number_format((float) $order->total_amount, 2) }} {{ $order->created_at->format('M d, Y') }} View
{{ $orders->links() }}
@endsection