@extends('admin.layout') @section('title', 'Order ' . $order->order_number) @section('admin-content')
{{ $item->product->name }}
{{ $item->quantity }} x ₦{{ number_format($item->unit_price, 2) }}
₦{{ number_format($item->total, 2) }}
Shipping: ₦{{ number_format($item->shipping_cost, 2) }}
Total Shipping: ₦{{ number_format($order->items->first()->product->total_shipping_cost, 2) }}
Per Item: ₦{{ number_format($order->items->first()->product->shipping_per_item, 2) }}
{{ $order->user->name }}
{{ $order->user->email }}
{{ $order->user->phone ?? 'No phone' }}
No payments
@endif