@if (!$isAdmin) Order Confirmation - ZAKH
ZAKH

🎉 Order Placed!

Thank you for choosing ZAKH, {{ $order->address->receiver_name ?? 'Valued Customer' }}!

Payment Status
@php $paymentStatus = $order->payment_status ?? 'pending'; $statusColors = [ 'paid' => [ 'bg' => 'linear-gradient(135deg, #dcfce7, #bbf7d0)', 'text' => '#166534', 'icon' => '✅', 'border' => '#22c55e', ], 'pending' => [ 'bg' => 'linear-gradient(135deg, #fef3c7, #fde68a)', 'text' => '#92400e', 'icon' => '⏳', 'border' => '#f59e0b', ], 'failed' => [ 'bg' => 'linear-gradient(135deg, #fecaca, #fca5a5)', 'text' => '#991b1b', 'icon' => '❌', 'border' => '#ef4444', ], 'Refunded' => [ 'bg' => 'linear-gradient(135deg, #e0f2fe, #bae6fd)', 'text' => '#0c4a6e', 'icon' => '🔄', 'border' => '#0ea5e9', ], ]; $statusConfig = $statusColors[$paymentStatus] ?? $statusColors['pending']; @endphp
{{ $statusConfig['icon'] }} {{ ucfirst($paymentStatus) }}
Payment Method
{{ $order->payment_method ?? 'Digital Payment' }}

Hello {{ $order->address->receiver_name ?? 'Valued Customer' }}! 👋

Your order has been successfully placed and is now being prepared with care. You'll receive detailed tracking information once your items are shipped.

Order #ZAKH-2025-{{ str_pad($order->cart_id ?? rand(1000, 9999), 4, '0', STR_PAD_LEFT) }}
{{ $order->order_date ?? now()->format('F j, Y \a\t g:i A') }}
🔄 Processing
@php $subtotal = 0; @endphp @if (isset($order->orderItems) && $order->orderItems->isNotEmpty()) @foreach ($order->orderItems as $item) @php $mrp = $item->variation->mrp ?? 0; $price = $item->variation->price ?? 0; $quantity = $item->quantity ?? 1; $itemTotal = $price * $quantity; $subtotal += $itemTotal; $percentOff = $mrp > 0 && $price > 0 ? round((($mrp - $price) / $mrp) * 100) : 0; @endphp
Product @if ($percentOff > 0)
-{{ $percentOff }}%
@endif
{{ $item->product_name ?? 'Premium Product' }}
@if (isset($item->variation->variation_attributes) && $item->variation->variation_attributes->isNotEmpty()) @php $attributes = $item->variation->variation_attributes ->map(function ($attribute) { return ($attribute ->attribute->attribute ->name ?? 'Attribute') . ': ' . ($attribute->attribute ->name ?? 'Value'); }) ->implode(', '); @endphp
{{ $attributes }}
@endif
Qty: {{ $quantity }}
₹{{ number_format($itemTotal, 2) }}
@if ($mrp > $price)
₹{{ number_format($mrp * $quantity, 2) }}
@endif
@endforeach @else
📦
No items found
Please contact our support team for assistance
@endif

💰 Order Summary

@if (isset($order->coupon_discount) && $order->coupon_discount > 0) @endif
Subtotal: ₹{{ number_format($subtotal, 2) }}
Shipping: @if (($order->shipping_cost ?? 0) == 0) FREE @else ₹{{ number_format($order->shipping_cost ?? 0, 2) }} @endif
Coupon Discount: @if (isset($order->coupon) && isset($order->coupon->coupon_name))
({{ $order->coupon?->coupon_name }}) @endif
-₹{{ number_format($order->coupon_discount, 2) }}
Total: ₹{{ number_format($order->total_price ?? 0, 2) }}
@if (isset($order->address))

📍 Shipping Address

{{ $order->address->receiver_name ?? 'Customer' }}
@if (isset($order->address->receiver_email) && $order->address->receiver_email)
📧 {{ $order->address->receiver_email }}
@endif
📞 {{ $order->address->receiver_phone ?? '' }} @if (isset($order->address->alternate_phone) && $order->address->alternate_phone) , {{ $order->address->alternate_phone }} @endif
🏠 @if (isset($order->address->house_no)) {{ $order->address->house_no }}, @endif @if (isset($order->address->society)) {{ $order->address->society }} @endif @if (isset($order->address->landmark) && $order->address->landmark) , Near {{ $order->address->landmark }} @endif
📍 {{ $order->address->city ?? '' }}, {{ $order->address->state ?? '' }} - {{ $order->address->pincode ?? '' }}
@endif

💬 Need Support?

Our support team is here to assist you 24/7! Contact us at contact@zakh.in or call +91 9910 336 595.

🙏

Thank You for Choosing ZAKH!

We appreciate your trust and look forward to delivering excellence.

ZAKH

Premium Quality, Exceptional Service

Contact Us
📧 contact@zakh.in
📞 +91 9910 336 595

© 2025 ZAKH. All rights reserved.
@else Order Confirmation - ZAKH Admin Dashboard
ZAKH
ADMIN DASHBOARD
📋

New Order Received

Order #ZAKH-2025-{{ str_pad($order->cart_id ?? rand(1000, 9999), 4, '0', STR_PAD_LEFT) }}

Customer: {{ $order->address->receiver_name ?? 'Customer' }} | Please review and confirm

PAYMENT STATUS
@php $paymentStatus = $order->payment_status ?? 'pending'; $statusColors = [ 'completed' => [ 'bg' => 'linear-gradient(135deg, #dcfce7, #bbf7d0)', 'text' => '#166534', 'icon' => '✅', 'border' => '#22c55e', ], 'pending' => [ 'bg' => 'linear-gradient(135deg, #fef3c7, #fde68a)', 'text' => '#92400e', 'icon' => '⏳', 'border' => '#f59e0b', ], 'failed' => [ 'bg' => 'linear-gradient(135deg, #fecaca, #fca5a5)', 'text' => '#991b1b', 'icon' => '❌', 'border' => '#ef4444', ], 'refunded' => [ 'bg' => 'linear-gradient(135deg, #e0f2fe, #bae6fd)', 'text' => '#0c4a6e', 'icon' => '🔄', 'border' => '#0ea5e9', ], ]; $statusConfig = $statusColors[$paymentStatus] ?? $statusColors['pending']; @endphp
{{ $statusConfig['icon'] }} {{ strtoupper($paymentStatus) }}
PAYMENT METHOD
{{ $order->payment_method ?? 'DIGITAL PAYMENT' }}

👤 Customer Details

{{ $order->address->receiver_name ?? 'Customer Name' }}
@if (isset($order->address->receiver_email))
📧 {{ $order->address->receiver_email }}
@endif
📞 {{ $order->address->receiver_phone ?? '' }} @if (isset($order->address->alternate_phone) && $order->address->alternate_phone) | {{ $order->address->alternate_phone }} @endif
Order #ZAKH-2025-{{ str_pad($order->cart_id ?? rand(1000, 9999), 4, '0', STR_PAD_LEFT) }}
{{ $order->order_date ?? now()->format('F j, Y \a\t g:i A') }}
📋 Awaiting Review
@php $subtotal = 0; @endphp @if (isset($order->orderItems) && $order->orderItems->isNotEmpty()) @foreach ($order->orderItems as $item) @php $mrp = $item->variation->mrp ?? 0; $price = $item->variation->price ?? 0; $quantity = $item->quantity ?? 1; $itemTotal = $price * $quantity; $subtotal += $itemTotal; $percentOff = $mrp > 0 && $price > 0 ? round((($mrp - $price) / $mrp) * 100) : 0; @endphp
Product @if ($percentOff > 0)
-{{ $percentOff }}%
@endif
{{ $item->product_name ?? 'Product Name' }}
@if (isset($item->variation->variation_attributes) && $item->variation->variation_attributes->isNotEmpty()) @php $attributes = $item->variation->variation_attributes ->map(function ($attribute) { return ($attribute ->attribute->attribute ->name ?? 'Attribute') . ': ' . ($attribute->attribute ->name ?? 'Value'); }) ->implode(', '); @endphp
{{ $attributes }}
@endif
QTY: {{ $quantity }}
₹{{ number_format($itemTotal, 2) }}
@if ($mrp > $price)
₹{{ number_format($mrp * $quantity, 2) }}
@endif
@endforeach @else
📦
No Items Found
Please check the order details in admin panel
@endif

💰 Order Summary

@if (isset($order->coupon_discount) && $order->coupon_discount > 0) @endif
Subtotal: ₹{{ number_format($subtotal, 2) }}
Shipping: @if (($order->shipping_cost ?? 0) == 0) FREE @else ₹{{ number_format($order->shipping_cost ?? 0, 2) }} @endif
Discount Applied: @if (isset($order->coupon) && isset($order->coupon->coupon_name))
({{ $order->coupon?->coupon_name }}) @endif
-₹{{ number_format($order->coupon_discount, 2) }}
Total Amount: ₹{{ number_format($order->total_price ?? 0, 2) }}
@if (isset($order->address))

📦 Delivery Address

{{ $order->address->receiver_name ?? 'Customer Name' }}
@if (isset($order->address->receiver_email))
📧 {{ $order->address->receiver_email }}
@endif
📞 {{ $order->address->receiver_phone ?? '' }} @if (isset($order->address->alternate_phone) && $order->address->alternate_phone) | {{ $order->address->alternate_phone }} @endif
🏠 @if (isset($order->address->house_no)) {{ $order->address->house_no }}, @endif @if (isset($order->address->society)) {{ $order->address->society }} @endif @if (isset($order->address->landmark) && $order->address->landmark) , Near {{ $order->address->landmark }} @endif
📍 {{ $order->address->city ?? '' }}, {{ $order->address->state ?? '' }} - {{ $order->address->pincode ?? '' }}
@endif
ZAKH

Admin Dashboard - Order Management

ZAKH Store - Administrative Panel

📧 contact@zakh.in | 📞 +91 9910 336 595

© 2025 ZAKH. All rights reserved.
@endif