@extends('admin.layout') @section('header', 'Orders') @section('content')
@foreach($orders as $order) @endforeach
ID Customer Total Amount Status Date Actions
#{{ $order->id }} {{ $order->customer_name }} ${{ number_format($order->total_amount, 2) }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M d, Y') }} View
@endsection