@extends('layouts.vendor') @section('title', 'Order Details') @section('page-title', 'Order Details') @section('content')
{{ $orderItem->created_at->format('M d, Y H:i') }}
{{ $orderItem->product_name }}
SKU: {{ $orderItem->product_sku ?? 'N/A' }}
Qty: {{ $orderItem->quantity }} × ${{ number_format($orderItem->price, 2) }}
Your earnings: ${{ number_format($orderItem->vendor_earnings, 2) }}
{{ $orderItem->order->user->name }}
{{ $orderItem->order->user->email }}
{{ $orderItem->order->shipping_name }}
{{ $orderItem->order->shipping_address }}
{{ $orderItem->order->shipping_city }}, {{ $orderItem->order->shipping_country }}