@extends("general_base") @section("title", "My Orders") @section("style") @include('partial.user_styles') @endsection @section("content")
You haven't placed any orders yet. Start shopping to place your first order!
Start Shopping| Order ID | Date | Total | Status | Payment | Invoice |
|---|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->created_at->format('M d, Y') }} {{ $order->created_at->format('h:i A') }} |
৳{{ number_format($order->total) }} | @if($order->order_status === 'pending') Pending @elseif($order->order_status === 'processing') Processing @elseif($order->order_status === 'shipped') Shipped @elseif($order->order_status === 'delivered') Delivered @else {{ ucfirst($order->order_status) }} @endif | @if($order->payment_method === 'cod') Cash on Delivery @else Digital Payment ({{ ucfirst($order->payment_status ?? 'unpaid') }}) @endif | View Invoice |