is_enabled_pusher_broadcast) wire:poll.10s @endif>

@lang('messages.orderPlacedSuccess')

Your order has been received and is being prepared

{{ $order->show_formatted_order_number }}

@if ($order->status == 'kot') @lang('modules.order.infokot') @endif
{{ $order->items->count() }} @lang('modules.menu.item') {{ $order->date_time->timezone(timezone())->translatedFormat('M d, Y h:i A') }} @php $maxPreparationTime = $order->items->max(function($item) { return $item->menuItem->preparation_time; }); @endphp @if ($maxPreparationTime) {{ $maxPreparationTime }} @lang('modules.menu.minutes') (@lang('app.approx')) @endif
{{ currency_format($order->total, $restaurant->currency_id) }}
@lang('modules.order.includeTax')
@foreach ($order->items as $key => $item)
{{ $item->menuItem->item_name }}

{{ $item->menuItem->item_name }}

@if(isset($item->menuItemVariation) && $item->menuItemVariation->variation)

{{ $item->menuItemVariation->variation }}

@endif @if($item->modifierOptions->isNotEmpty())
@foreach ($item->modifierOptions as $modifier)
{{ $modifier->name }} +{{ currency_format($modifier->price, $restaurant->currency_id) }}
@endforeach
@endif @if ($item->menuItem->preparation_time)
{{ $item->menuItem->preparation_time }} @lang('modules.menu.minutes')
@endif
×{{ $item->quantity }}
@if($taxMode === 'item' && $restaurant?->tax_inclusive && $item->tax_amount > 0)
{{ currency_format(($item->price + $item->modifierOptions->sum('price')) - ($item->tax_amount / $item->quantity), $restaurant->currency_id) }} +tax
@endif

{{ currency_format($item->price + $item->modifierOptions->sum('price'), $restaurant->currency_id) }}

@endforeach
@lang('modules.order.subTotal') {{ currency_format($order->sub_total, $restaurant->currency_id) }}
@if ($order->discount_amount)
@lang('modules.order.discount') -{{ currency_format($order->discount_amount, $restaurant->currency_id) }}
@endif @foreach ($order->charges as $item)
{{ $item->charge->charge_name }} @if ($item->charge->charge_type == 'percent') ({{ $item->charge->charge_value }}%) @endif {{ currency_format(($item->charge->getAmount($order->sub_total - ($order->discount_amount ?? 0))), $restaurant->currency_id) }}
@endforeach @foreach ($order->taxes as $item)
{{ $item->tax->tax_name }} ({{ $item->tax->tax_percent }}%) {{ currency_format(($item->tax->tax_percent / 100) * $order->sub_total, $restaurant->currency_id) }}
@endforeach @if($order->tip_amount > 0)
@lang('modules.order.tip') {{ currency_format($order->tip_amount, $restaurant->currency_id) }}
@endif
@lang('modules.order.total') {{ currency_format($order->total, $restaurant->currency_id) }}
@if($restaurant->google_review_link)

🎉 Loved Your Meal?

Your feedback means the world to us! Share your dining experience and help others discover our amazing food.

@endif
@if ($order->status == 'paid') @if ($order->table_id) @php $newOrderLink = route('table_order', [$order->table->hash]); @endphp @else @php $newOrderLink = module_enabled('Subdomain')?url('/'):route('shop_restaurant',['hash' => $restaurant->hash]); @endphp @endif @else @php $newOrderLink = module_enabled('Subdomain')?url('/'):route('shop_restaurant',['hash' => $restaurant->hash]).'?current_order='.$order->id; @endphp @endif @lang('modules.order.newOrder')
@push('scripts') @if(pusherSettings()->is_enabled_pusher_broadcast) @endif @endpush