@if (!$showCart)
@endif @if ($showMenu)
@forelse ($menuItems as $item)
{{ $item->item_name }}
{{ $item->item_name }}
@if ($item->description)
{{ $item->description }}
@endif
@if ($item->variations_count == 0) {{ currency() }}{{ $item->price }} @else ({{ $item->variations_count }}) @lang('modules.menu.itemVariations') @endif
@if (isset($cartItemQty[$item->id]) && $cartItemQty[$item->id] > 0)
@else @lang('app.add') @endif
@empty @lang('messages.noItemAdded') @endforelse
@lang('app.menu')
@if ($cartQty > 0)
@lang('modules.order.totalItem'): {{ $cartQty }}  |  {{ currency() }}{{ $subTotal }} + @lang('modules.order.taxes')
@lang('modules.order.viewCart')
@endif
@endif @if ($showCart)
@foreach ($orderItemList as $key => $item)
{{ $item->item_name }}
{{ (isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->variation : '') }}
@php $itemPrice = (isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->price : $item->price); @endphp {{ currency() . ($orderItemQty[$key] * $itemPrice) }}
@endforeach @if ($cartQty > 0)
@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ currency() }}{{ $subTotal }}
@foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ currency() }}{{ (($item->tax_percent / 100) * $subTotal) }}
@endforeach
@lang('modules.order.total')
{{ currency() }}{{ $total }}
@if (is_null($customer) && ($restaurant->customer_login_required || $orderType == 'delivery')) @lang('app.next') @else
@if ($paymentGateway->stripe_status || $paymentGateway->razorpay_status) @lang('modules.order.payNow') @lang('modules.order.payLater') @else @lang('modules.order.placeOrder') @endif
@endif
@else

@lang('messages.cartEmpty')

@lang('modules.order.placeOrder')
@endif
@endif @if (!is_null($customer))
@csrf
@if ($orderType == 'delivery')
@endif
@lang('app.continue') @lang('app.cancel')
@endif
@lang('modules.menu.itemVariations') @if ($menuItem) @livewire('pos.itemVariations', ['menuItem' => $menuItem], key(str()->random(50))) @endif @lang('modules.menu.itemVariations') @if ($menuItem) @livewire('shop.cartItemVariations', ['menuItem' => $menuItem, 'orderItemQty' => $orderItemQty], key(str()->random(50))) @endif @lang('app.menu')
@if ($paymentOrder) @lang('modules.order.chooseGateway')
@lang('modules.order.orderNumber') #{{ $paymentOrder->order_number }}
{{ currency() . $paymentOrder->total }}
@if ($paymentGateway->stripe_status) @endif @if ($paymentGateway->razorpay_status) @endif
@endif @script @endscript