@extends('layouts.backend.app') @section('content')

Order Details

@foreach($orderItems as $index => $item) @endforeach
# Product Image Product Name Qty Price Total
{{ $index + 1 }} {{ $item->product->name }} {{ $item->quantity }} {{ number_format($item->price, 2) }} {{ number_format($item->quantity * $item->price, 2) }}

Shipping Details

Name{{ $order->shipping_name }}
Email{{ $order->shipping_email }}
Phone{{ $order->shipping_phone }}
Address{{ $order->shipping_address }}
City{{ $order->shipping_city }}
State{{ $order->shipping_state }}
Zip{{ $order->shipping_zip }}
Country{{ $order->shipping_country }}

Payment Information

Transaction ID{{ $payment->transaction_id ?? '-' }}
Payment Method{{ $payment->method ?? '-' }}
Status{{ $payment->status ?? '-' }}
@endsection