@extends('layouts.admin') @section('content')

Order ID #{{ $order->code }}

Billing Address

{{ $order->customer_first_name }} {{ $order->customer_last_name }}
{{ $order->customer_address1 }}
{{ $order->customer_address2 }}
Email: {{ $order->customer_email }}
Phone: {{ $order->customer_phone }}
Postcode: {{ $order->customer_postcode }}
{{--

Shipment Address

{{ $order->shipment->first_name }} {{ $order->shipment->last_name }}
{{ $order->shipment->address1 }}
{{ $order->shipment->address2 }}
Email: {{ $order->shipment->email }}
Phone: {{ $order->shipment->phone }}
Postcode: {{ $order->shipment->postcode }}
--}}

Details

ID: #{{ $order->code }}
DATE: {{ $order->order_date }}
NOTE: {{ $order->note }}
Status: {{ $order->status }} {{ $order->cancelled_at }}
Cancellation Note : {{ $order->cancellation_note}}
Payment Status: {{ $order->payment_status }}
Shipped by: {{ $order->shipping_service_name }}
@forelse ($order->orderItems as $item) @empty @endforelse
# Item Quantity Unit Cost Total
{{ $loop->iteration }} {{ $item->name }} {{ $item->qty }} Rp.{{ number_format($item->base_price) }} Rp.{{ number_format($item->sub_total) }}
Order item not found!
  • Subtotal {{ $order->base_total_price }}
  • {{--
  • Tax(10%) {{ $order->tax_amount }}
  • Shipping Cost {{ $order->shipping_cost }}
  • Total {{ $order->grand_total }}
  • --}}
{{-- @if ($order->isPaid() && $order->isConfirmed()) Procced to Shipment @endif @if (in_array($order->status, [\App\Models\Order::CREATED, \App\Models\Order::CONFIRMED])) Cancel @endif @if ($order->isDelivered())
@csrf
@endif --}} {{-- @if (!in_array($order->status, [\App\Models\Order::DELIVERED, \App\Models\Order::COMPLETED])) Remove
@csrf @method('delete')
@endif --}}
@endsection