@extends('layouts.app') @section('content')
{{ $order->website->company->name }} - {{ $order->website->name }}
{{ $order->order_number }}
{{ $order->created_at->format('F d, Y H:i:s') }}
{{ ucfirst($order->channel ?: 'ecommerce') }}
RM {{ number_format($order->total_amount, 2) }}
{{ $order->currency ?: 'MYR' }}
{{ ucfirst($order->payment_status ?: 'pending') }}
{{ $order->notes }}
{{ $order->admin_notes }}
| Product | Variation | Quantity | Unit Price | Total |
|---|---|---|---|---|
|
@if($item->product && $item->product->image_url)
{{ $item->product_name }}
@if($item->product_description)
{{ Str::limit($item->product_description, 60) }}
@endif
|
{{ $item->variation ? $item->variation->name : '-' }} | {{ $item->quantity }} | RM {{ number_format($item->unit_price, 2) }} | RM {{ number_format($item->total_price, 2) }} |
| Subtotal: | RM {{ number_format($order->items->sum('total_price'), 2) }} | |||
| Shipping: | RM {{ number_format($order->shipping_amount, 2) }} | |||
| Tax: | RM {{ number_format($order->tax_amount, 2) }} | |||
| Total: | RM {{ number_format($order->total_amount, 2) }} | |||
{{ $order->website->company->name }}
{{ $order->website->name }}
{{ $order->website->domain }}
{{ $order->customer_name }}
{{ $order->customer_email }}
{{ $order->customer_phone }}
{{ $order->formatted_shipping_address }}
{{ $order->formatted_billing_address }}
{{ ucfirst($order->status) }}
{{ ucfirst($order->payment_status ?: 'pending') }}
{{ $order->admin_notes }}