@if (!$showCart)
@endif @if ($showMenu)
@forelse ($menuItems as $key => $itemCat)

{{ $key }}

@foreach ($itemCat 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) {{ currency_format($item->price, $restaurant->currency_id) }} @else ({{ $item->variations_count }}) @lang('modules.menu.itemVariations') @endif
@if ($canCreateOrder) @if ($restaurant->allow_customer_orders) @if (isset($cartItemQty[$item->id]) && $cartItemQty[$item->id] > 0)
@else @lang('app.add') @endif @endif @endif
@endforeach
@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 }}  |  {{ currency_format($subTotal, $restaurant->currency_id) }} + @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 : '' }}
@if (!empty($itemModifiersSelected[$key]))
@foreach ($itemModifiersSelected[$key] as $modifierOptionId)
{{ $this->modifierOptions[$modifierOptionId]->name }} {{ currency_format($this->modifierOptions[$modifierOptionId]->price) }}
@endforeach
@endif
@php $itemPrice = isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->price : $item->price; $itemPrice += isset($orderItemModifiersPrice[$key]) ? $orderItemModifiersPrice[$key] : 0; @endphp {{ currency_format($orderItemQty[$key] * $itemPrice, $restaurant->currency_id) }}
@endforeach @if ($cartQty > 0)
@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ currency_format($subTotal, $restaurant->currency_id) }}
@foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ currency_format(($item->tax_percent / 100) * $subTotal, $restaurant->currency_id) }}
@endforeach
@lang('modules.order.total')
{{ currency_format($total, $restaurant->currency_id) }}
@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->is_qr_payment_enabled || $paymentGateway->stripe_status || $paymentGateway->razorpay_status || $paymentGateway->is_offline_payment_enabled) @if (!$order) @lang('modules.order.payNow') @endif @if ($paymentGateway->is_cash_payment_enabled) @lang('modules.order.payLater') {{-- @lang('modules.order.payViaQr') --}} @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.table.selectTable') @if ($showTableModal && $getTable) @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_format($paymentOrder->total, $restaurant->currency_id) }}
@if ($showQrCode || $showPaymentDetail) @lang('modules.billing.showOtherPaymentOption')
@if ($showQrCode) QR Code Preview @else @lang('modules.billing.accountDetails') {{ $paymentGateway->offline_payment_detail }} @endif
@else
@if ($paymentGateway->stripe_status) @endif @if ($paymentGateway->razorpay_status) @endif @if ($paymentGateway->is_qr_payment_enabled && $paymentGateway->qr_code_image_url) @lang('modules.billing.paybyQr') @endif @if ($paymentGateway->is_offline_payment_enabled && $paymentGateway->offline_payment_detail) @lang('modules.billing.bankTransfer') @endif @if($paymentGateway->paychangu_status) @endif
@endif
@if ($showQrCode || $showPaymentDetail) @lang('modules.billing.paymentDone') @endif
@endif @lang('modules.modifier.itemModifiers') @if ($selectedModifierItem) @livewire('pos.itemModifiers', ['menuItemId' => $selectedModifierItem], key(str()->random(50))) @endif @script @endscript