@extends('admin.layouts.app') @section('title', 'Invoice') @section('page-title', 'Invoice: ' . $order->order_number) @section('content')

INVOICE

{{ \App\Models\Setting::get('store_name', config('app.name')) }}

Order #{{ $order->order_number }}

{{ $order->created_at->format('F d, Y') }}

Bill To:

{{ $order->shipping_name }}

{{ $order->shipping_email }}

{{ $order->shipping_phone ?? '' }}

Ship To:

{{ $order->shipping_address }}

{{ $order->shipping_city }}, {{ $order->shipping_state }} {{ $order->shipping_postal_code }}

{{ $order->shipping_country }}

@foreach($order->items as $item) @endforeach
Item Quantity Price Total
{{ $item->product_name }}
@if($item->variant_name)
{{ $item->variant_name }}
@endif
{{ $item->quantity }} {{ $currency_symbol }}{{ number_format($item->price, 2) }} {{ $currency_symbol }}{{ number_format($item->subtotal, 2) }}
Subtotal: {{ $currency_symbol }}{{ number_format($order->subtotal, 2) }}
Tax: {{ $currency_symbol }}{{ number_format($order->tax, 2) }}
Shipping: {{ $currency_symbol }}{{ number_format($order->shipping, 2) }}
@if($order->discount > 0)
Discount: -{{ $currency_symbol }}{{ number_format($order->discount, 2) }}
@endif
Total: {{ $currency_symbol }}{{ number_format($order->total, 2) }}

Thank you for your business!

@endsection