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

{{ $key }}

@foreach ($itemCat as $item)
{{ $item->item_name }}
{{ $item->getTranslatedValue('item_name', session('locale')) }}
@if ($item->description)
{{ str($item->getTranslatedValue('item_name', session('locale')) )->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) }} @endif
@if ($canCreateOrder) @if ($restaurant->allow_customer_orders) @if (isset($cartItemQty[$item->id]) && $cartItemQty[$item->id] > 0)
@else @lang('app.add') @endif @elseif ($item->variations_count > 0 && $restaurant->allow_customer_orders) @lang('modules.menu.showVariations') ({{ $item->variations_count }}) @endif @endif
@endforeach
@empty @lang('messages.noItemAdded') @endforelse
@lang('app.menu') @if ($restaurant->is_waiter_request_enabled && $restaurant->is_waiter_request_enabled_on_mobile && $this->shouldShowWaiterButton ) @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 }}
{{ $item->item_name }}
@if(isset($orderItemVariation[$key])) {{ $orderItemVariation[$key]->variation }} @endif {{-- @if ($item->preparation_time) @lang('modules.menu.preparationTime'): {{ $item->preparation_time }} @lang('modules.menu.minutes') @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) }}
@if (!empty($itemModifiersSelected[$key]))
@foreach ($itemModifiersSelected[$key] as $modifierOptionId) {{ $this->modifierOptions[$modifierOptionId]->name }} {{ currency_format($this->modifierOptions[$modifierOptionId]->price, $this->modifierOptions[$modifierOptionId]->modifierGroup->branch->restaurant->currency_id) }} @endforeach
@endif
@endforeach @if ($cartQty > 0)
@lang('modules.order.addNote')

@lang('modules.order.addNote')

{{ $orderNote }}

@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ currency_format($subTotal, $restaurant->currency_id) }}
@if (count($orderItemList) > 0 && $extraCharges) @foreach ($extraCharges as $charge)
{{ $charge->charge_name }} @if ($charge->charge_type == 'percent') ({{ $charge->charge_value }}%) @endif
{{ currency_format($charge->getAmount($subTotal), $restaurant->currency_id) }}
@endforeach @endif @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)); $showPayNow = $paymentGateway->is_qr_payment_enabled || $paymentGateway->stripe_status || $paymentGateway->razorpay_status || $paymentGateway->is_offline_payment_enabled; $loadingSpinner = '
'; @endphp @if (!$order) @if ($showPayNow) {!! $loadingSpinner !!} @lang('modules.order.payNow') @if (!$isPaymentEnabled) {!! $loadingSpinner !!} @lang('modules.order.payLater') @endif @else {!! $loadingSpinner !!} @lang('modules.order.placeOrder') @endif @else {!! $loadingSpinner !!} @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('modules.menu.itemDescription') @if ($selectedItem)
{{ $selectedItem->item_name }}

{{ $selectedItem->item_name }}

@if (strlen($selectedItem->description) > 100)

{{ Str::limit($selectedItem->description, 100) }} {{ $selectedItem->description }}

@else

{{ $selectedItem->description }}

@endif
@lang('modules.menu.preparationTime') {{ $selectedItem->preparation_time }} @lang('modules.menu.minutes')
@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->is_cash_payment_enabled) @lang('modules.order.payViaCash') @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 @lang('modules.menu.itemVariations') @if ($menuItem)
{{ $menuItem->item_name }}
{{ $menuItem->item_name }}
{{ $menuItem->description }}
@foreach ($menuItem->variations as $item) @endforeach
@lang('modules.menu.itemName') @lang('modules.menu.setPrice')
{{ $item->variation }}
{{ $item->price ? currency_format($item->price, $restaurant->currency_id) : '--' }}
@endif
@script @endscript