@extends('layouts.base') @section('title', 'Thank You - Order Received') @php // Favicon fallback logic if (isset($salesPage)) { $faviconPath = $salesPage->getFaviconPath() ?? $salesPage->user->company_logo ?? asset('favicon.ico'); } else { $faviconPath = asset('favicon.ico'); } @endphp @push('scripts') @if(isset($salesPage) && isset($order)) @if($salesPage->facebook_pixel_id) @endif @if($salesPage->google_analytics_id) @endif @if($salesPage->tiktok_pixel_id) @endif @endif @endpush @section('body')
Your order has been successfully placed
Order Number
{{ $order->order_number }}
Name
@php // Support both formats: 'name' or 'first_name' + 'last_name' $customerName = $order->billing['name'] ?? trim(($order->billing['first_name'] ?? '') . ' ' . ($order->billing['last_name'] ?? '')); @endphp{{ $customerName ?: 'N/A' }}
Phone Number
{{ $order->billing['phone'] ?? 'N/A' }}
{{ $order->billing['email'] }}
{{ $item['name'] }}
Quantity: {{ $item['quantity'] }} × RM {{ number_format($item['price'], 2) }}
RM {{ number_format($item['price'] * $item['quantity'], 2) }}
Our team will contact you via WhatsApp shortly
(COD) Pay to courier when you receive the product
Our team will contact you via WhatsApp shortly
Payment information will be sent to you
Please make payment and send proof of payment
Your order will be processed after payment confirmation
Your order has been received and is being processed.