@extends('layouts.admin') @section('title', 'Order') @section('content')

Order

ID {{ $order->id }}
First Name {{ $order->first_name ?? 'N/A' }}
Last Name {{ $order->last_name }}
Email {{ $order->email ?? 'N/A' }}
Amount {{ $order->amount ?? 'N/A' }}
Stripe ID {{ $order->stripe_id ?? 'N/A' }}
Stripe Status {{ $order->stripe_status ?? 'N/A' }}
Stripe Customer {{ $order->stripe_customer ?? 'N/A' }}
Stripe Fee {{ $order->stripe_fee ?? 'N/A' }}
Net Amount {{ $order->net_amount ?? 'N/A' }}
@if($order->orderItems->count() > 0) @foreach($order->orderItems as $order) @endforeach
Product
{{ $order->product->name }}
@endif
@endsection