@extends('layouts.layout-admin') @section('title', 'Orders') @section('header_title', 'Orders') @section('header_subtitle', 'Manage all orders') @section('content')
| Order Code | Customer | Items | Total | Payment | Shipping | Status | Date | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $order->order_code }} | {{ $order->user->name }} |
@foreach ($order->items as $item)
{{ $item->product->name ?? 'Deleted' }} x {{ $item->quantity }}
@endforeach
|
Rp {{ number_format($order->total_amount, 0, ',', '.') }} | {{ $order->payment_method ?? '-' }} | {{ $order->shippingCost->destination ?? '-' }} Rp {{ number_format($order->shippingCost->cost ?? 0, 0, ',', '.') }} |
{{ $order->status }} | {{ $order->created_at->format('d/m/Y') }} |
|
No orders found |
||||||||