{{-- MAIN CONTENT WITHOUT NESTED TABLES --}} {{-- HEADER --}} {{-- COMPANY DETAILS --}} {{-- CUSTOMER DETAILS --}} {{-- PRODUCTS --}} {{-- PAYMENT --}} {{-- DECLARATION --}}
Logo Invoice No: {{ $order->invoice_no }}
Date: {{ $order->created_at->format('d M Y') }}
Address: {{ $contact->address ?? '' }}
Contact: {{ $contact->phone ?? '' }}
Email: {{ $contact->email ?? '' }}
Customer Details

Name: {{ $order->user->name ?? 'Guest' }}
Phone: {{ $order->address->phone ?? '' }}
Address: {{ $order->address->address ?? '' }}
Email: {{ $order->user->email ?? '' }}
{{-- ITEMS --}} @foreach($order->items as $item) @endforeach {{-- SHIPPING --}} {{-- GRAND TOTAL --}}
Product Qty Price Total
{{ $item->product_name }} {{-- Product Variant --}} @if(!empty($item->size_name))
Variant: {{ $item->size_name }} @endif {{-- Color Variant --}} @if(!empty($item->color_name))
Color: {{ $item->color_name }} @endif {{-- Addons --}} @php $addons = json_decode($item->addons_json, true); @endphp @if(!empty($addons))

Addons: @foreach($addons as $addon)
• {{ $addon['label'] ?? '' }} @if(isset($addon['price'])) - ₹{{ $addon['price'] }} @endif
@endforeach Total Addons: ₹{{ number_format($item->addon_total ?? 0, 2) }} @endif
{{ $item->quantity }} ₹{{ number_format($item->price, 2) }} @if(($item->addon_total ?? 0) > 0)
+ Addons: ₹{{ number_format($item->addon_total, 2) }} @endif
₹{{ number_format($item->total, 2) }}
Shipping Charge: ₹{{ number_format($order->shipping_charge, 2) }}
Grand Total: ₹{{ number_format($order->total_amount, 2) }}
Payment Method: {{ $order->payment_method }} Total Amount: ₹{{ number_format($order->total_amount, 2) }}
Declaration:
This invoice confirms your order. All details are correct as per our records. For any queries, contact us at
{{ $contact->phone ?? 'N/A' }}.
Authorized Signature


____________________