{{ $companyInfo['name'] }}
{{ $companyInfo['address'] }}
{{ $companyInfo['city'] }}, {{ $companyInfo['state'] }} {{ $companyInfo['zip'] }}
Phone: {{ $companyInfo['phone'] }}
Email: {{ $companyInfo['email'] }}

Invoice

Invoice #: {{ $invoiceNumber }}
Order #: {{ $order->external_order_id ?: $order->order_id }}
Date: {{ $invoiceDate->format('M j, Y') }}
TOTAL DUE
${{ number_format($grandTotal, 2) }}

Billing Address

{{ $order->billing_first_name }} {{ $order->billing_last_name }}
@if($order->billing_company) {{ $order->billing_company }}
@endif {{ $order->billing_street_address }}
{{ $order->billing_city }}, {{ $order->billing_state }} {{ $order->billing_zip }}
{{ $order->billing_country }}
@if($order->billing_phone) Phone: {{ $order->billing_phone }}
@endif @if($order->customer_email) Email: {{ $order->customer_email }} @endif

Shipping Address

{{ $order->shipping_first_name }} {{ $order->shipping_last_name }}
@if($order->shipping_company) {{ $order->shipping_company }}
@endif {{ $order->shipping_street_address }}
{{ $order->shipping_city }}, {{ $order->shipping_state }} {{ $order->shipping_zip }}
{{ $order->shipping_country }}
@if($order->shipping_phone) Phone: {{ $order->shipping_phone }}
@endif
@foreach($items as $item) @endforeach
Part Number Description Qty Unit Price Total
{{ $item['part_number'] }} {{ $item['description'] }} {{ $item['quantity'] }} ${{ number_format($item['sale_price'], 2) }} ${{ number_format($item['total'], 2) }}

Payment Information

Payment Method: {{ ucfirst(str_replace('_', ' ', $order->payment_method_id ?? 'Not specified')) }}

@if($order->transaction_id)

Transaction ID: {{ $order->transaction_id }}

@endif

Terms & Conditions

1. All sales are final. Returns accepted within 30 days with RMA.

2. Warranty claims must be submitted within manufacturer's warranty period.

3. Shipping damage must be reported within 48 hours of delivery.

Thank you for your business!
Subtotal: ${{ number_format($subtotal, 2) }}
@if($tax > 0)
Tax: ${{ number_format($tax, 2) }}
@endif @if($shipping > 0)
Shipping: ${{ number_format($shipping, 2) }}
@endif
Grand Total: ${{ number_format($grandTotal, 2) }}