@if (!$showCart)
@endif @if ($showMenu)
@forelse ($menuItems as $item)
{{ $item->item_name }}
{{ $item->item_name }}
@if ($item->description)
{{ str($item->description)->limit(50) }}
@endif @if ($item->preparation_time)
@lang('modules.menu.preparationTime') : {{ $item->preparation_time }} @lang('modules.menu.minutes')
@endif
@if ($item->variations_count == 0) {{ $restaurant->currency->currency_symbol }}{{ $item->price }} @else ({{ $item->variations_count }}) @lang('modules.menu.itemVariations') @endif
@if ($restaurant->allow_customer_orders) @if (isset($cartItemQty[$item->id]) && $cartItemQty[$item->id] > 0)
@else @lang('app.add') @endif @endif
@empty @lang('messages.noItemAdded') @endforelse
@lang('app.menu') @if ($restaurant->is_waiter_request_enabled) @livewire('forms.callWaiterButton', ['tableNumber' => $table->id ?? null, 'shopBranch' => $shopBranch]) @endif
@if ($cartQty > 0)
@lang('modules.order.totalItem'): {{ $cartQty }}  |  {{ $restaurant->currency->currency_symbol . $subTotal }} + @lang('modules.order.taxes')
@lang('modules.order.viewCart')
@endif
@endif @if ($showCart) @if ($restaurant->allow_customer_orders)
@endif
@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 {{ $restaurant->currency->currency_symbol . ($orderItemQty[$key] * $itemPrice) }}
@endforeach @if ($cartQty > 0)
@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ $restaurant->currency->currency_symbol . $subTotal }}
@foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ $restaurant->currency->currency_symbol . (($item->tax_percent / 100) * $subTotal) }}
@endforeach
@lang('modules.order.total')
{{ $restaurant->currency->currency_symbol . $total }}
@if (is_null($customer) && ($restaurant->customer_login_required || $orderType == 'delivery')) @lang('app.next') @else
@php $isPaymentEnabled = in_array($orderType, ['dine_in', 'delivery', 'pickup']) && ($orderType == 'dine_in' && $paymentGateway->is_dine_in_payment_enabled || $orderType == 'delivery' && $paymentGateway->is_delivery_payment_enabled || $orderType == 'pickup' && $paymentGateway->is_pickup_payment_enabled); @endphp @if ($paymentGateway->stripe_status || $paymentGateway->razorpay_status) @lang('modules.order.payNow') @if (!$isPaymentEnabled) @lang('modules.order.payLater') @endif @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 }}
{{ $restaurant->currency->currency_symbol . $paymentOrder->total }}
@if ($paymentGateway->stripe_status) @endif @if ($paymentGateway->razorpay_status) @endif
@endif @script @endscript