@php $settings = \App\Models\GeneralSetting::first(); @endphp @if($settings && $settings->site_logo) {{-- Assuming DomPDF is used, direct URLs or base64 usually work. We'll use absolute path if local or let it resolve if configured correctly --}} Hair Niche By Shelly Logo @else
Hair Niche By Shelly
@endif
Hair Niche By Shelly
{{ $settings->address_head ?? 'B-7, New Model Town West' }}
{{ $settings->address_body ?? 'Ludhiana, Punjab 141002' }}
Email: {{ $settings->email_support ?? 'sales@hairniche.in' }}
Phone: {{ $settings->phone_support ?? '+91 97811 34384' }}
{{ $order->status === 'quotation_sent' ? 'QUOTATION' : 'INVOICE' }}
#{{ $order->order_number }}
Date: {{ $order->created_at->format('M d, Y') }}
Status: {{ $order->payment_status }}

Billed To

{{ $order->name }}
{{ $order->email }}
{{ $order->phone }}

@if($order->billingAddress) {{ $order->billingAddress->address_line1 }}
@if($order->billingAddress->address_line2) {{ $order->billingAddress->address_line2 }}
@endif {{ $order->billingAddress->city }}, {{ $order->billingAddress->state }} - {{ $order->billingAddress->postal_code }}
{{ $order->billingAddress->country }} @endif

Shipped To

{{ $order->shippingAddress->name ?? $order->name }}
{{ $order->shippingAddress->phone ?? $order->phone }}

@if($order->shippingAddress) {{ $order->shippingAddress->address_line1 }}
@if($order->shippingAddress->address_line2) {{ $order->shippingAddress->address_line2 }}
@endif {{ $order->shippingAddress->city }}, {{ $order->shippingAddress->state }} - {{ $order->shippingAddress->postal_code }}
{{ $order->shippingAddress->country }} @endif

Order Items

@foreach($order->items as $item) @endforeach
Product Price Qty Total
{{ $item->product->name }}
@if($item->variation)
@foreach($item->variation->options as $option) {{ $option->attribute_value }}@if(!$loop->last) / @endif @endforeach
@endif
₹{{ number_format($item->price, 2) }} {{ $item->quantity }} ₹{{ number_format($item->total, 2) }}
@if($order->discount > 0) @endif @if($order->gift_card_discount > 0) @endif @if($order->points_discount > 0) @endif
Subtotal: ₹{{ number_format($order->subtotal, 2) }}
Discount: -₹{{ number_format($order->discount, 2) }}
Gift Card: -₹{{ number_format($order->gift_card_discount, 2) }}
Points Redeemed ({{ $order->points_redeemed }}): -₹{{ number_format($order->points_discount, 2) }}
Shipping: @if($order->shipping_cost > 0) ₹{{ number_format($order->shipping_cost, 2) }} @else Free @endif
Total: ₹{{ number_format($order->total, 2) }}