{{$selected_language->data['your_order_placed'] ?? 'Your Order Has Been Placed'}}

{{$selected_language->data['your_order_number_is'] ?? 'Order Number'}} : {{$order->id}}

@if($successmsg)
{{$selected_language->data['payment_id'] ?? 'Payment ID'}} : {{$successmsg}}
@endif
@if($final_order && $store->phone && $store->whatsappbutton_enable ==1) @php function myUrlEncode($string) { $entities = array('%21', '%2A', '%27', '%28', '%29', '%3B', '%3A', '%40', '%26', '%3D', '%2B', '%24', '%2C', '%2F', '%3F', '%25', '%23', '%5B', '%5D'); $replacements = array('!', '*', "'", "(", ")", ";", ":", "@", "&", "=", "+", "$", ",", "/", "?", "%", "#", "[", "]"); return str_replace($entities, $replacements, urlencode($string)); } $products = '%0ACustomer Name: *'.$order->customer_name.'*'; if($order->order_type == 1) { $products .= '%0AOrder Type: *Dining*'; } if($order->order_type == 2) { $products .= '%0AOrder Type: *Takeaway*'; } if($order->order_type == 3) { $products .= '%0AOrder Type: *Delivery*'; } if($order->order_type == 4) { $products .= '%0AOrder Type: *Room*'; } if($order->address != null) { $products .= '%0ACustomer Address : *'.$order->address.'*'; } if($order->customer_phone != null) { $products .= '%0ACustomer Phone: *'.$order->customer_phone.'*'; } if($order->table_no) { $products .= '%0ATable No: *'.$order->table_no.'*'; } if($order->room_number) { $products .= '%0ARoom No: *'.$order->room_number.'*'; } if($order->payment_status == 2) { $products .= '%0A*Order has been paid* '; } $products .= '%0AProduct : '; foreach($final_order as $order_data) { foreach($order_data['order_details'] as $key => $data) { $products .= '%0A*'.$data['name'].'* Quantity : '.$data['quantity']; $products .= '%0AAddons: '; foreach($data['order_details_extra_addon'] as $key => $exra) { $products .= '%0A*'.$exra['addon_name'].'*'; } } } $products .= '%0AOrder ID : *'.$order->order_unique_id.'*'; $products .= '%0ATotal : *'.$order->total.'*'; @endphp @endif
@include('livewire.home.layouts.navbar')