@extends('layouts.admin') @section('title', 'Manage Orders') @section('content')

Orders

@if(session('success'))
{{ session('success') }}
@endif
@forelse($orders as $order) @empty @endforelse
Order # Customer Total Status Payment Date Actions
{{ $order->order_number }}
{{ $order->customer_name }}
{{ $order->customer_email }}
PKR {{ number_format($order->final_amount, 2) }} {{ ucfirst($order->status) }}
{{ strtoupper($order->payment_method) }}
{{ ucfirst($order->payment_status) }}
{{ $order->created_at->format('M d, Y') }}
No orders found
@endsection