@extends('layouts.ecommerce_admin') @section('title', 'Online Orders') @section('page_heading', 'Online Orders') @section('content')
@forelse($orders as $order) @empty@endforelse
OrderCustomerChannelFulfillmentStatusPaymentTotal
{{ $order->order_number }}
{{ $order->created_at->format('M d, h:i A') }}
{{ $order->customer_name }}
{{ $order->customer_phone }}
{{ ucfirst(str_replace('_',' ',$order->channel)) }} {{ ucfirst($order->fulfillment_method) }}
{{ optional($order->pickupLocation)->name ?: optional($order->location)->name ?: 'Multiple branches' }}
{{ \App\Utils\EcommerceService::STATUS_LABELS[$order->status] ?? $order->status }} {{ ucfirst(str_replace('_',' ',$order->payment_status)) }} ₱{{ number_format($order->final_total,2) }}
No orders match the filters.
{{ $orders->links() }}
@endsection