@extends('layouts.account') @section('title', 'My Orders — Meatworx') @section('account_title', 'My Orders') @section('account')
@if($orders->isEmpty())

No orders yet. Start shopping

@else
@foreach($orders as $order) @endforeach
Order Date Payment Status Total
{{ $order->order_number }} {{ $order->created_at->format('d M Y') }} {{ strtoupper($order->payment_method) }} {{ ucfirst($order->status) }} ₹{{ number_format($order->total, 0) }} Details
{{ $orders->links() }}
@endif
@endsection