@extends('front.qrmenu.layout') @section('page-heading') {{ __('Checkout') }} @endsection @section('content')
@csrf

{{ __('Serving Method') }}

@foreach ($smethods as $sm) @if (Session::has('table')) @if ($sm->value == 'on_table') @endif @else @endif @endforeach
# {{ __('Method') }}
first) checked @elseif(old('serving_method') == $sm->value) checked @endif data-gateways="{{ $sm->gateways }}">

{{ __($sm->name) }}

{{ __($sm->note) }}

first) checked @elseif(old('serving_method') == $sm->value) checked @endif data-gateways="{{ $sm->gateways }}">

{{ __($sm->name) }}

{{ __($sm->note) }}

@error('serving_method')

{{ convertUtf8($message) }}

@enderror
@include('front.multipurpose.qrmenu.partials.home_delivery_form')
@include('front.multipurpose.qrmenu.partials.pick_up_form')
@include('front.multipurpose.qrmenu.partials.on_table_form')
{{ __('Order Notes') }}

{{ __('Order Summary') }}

@php $total = 0; @endphp @if (!empty($cart)) @foreach ($cart as $key => $item) @php $id = $item['id']; $product = App\Models\Product::findOrFail($id); $total += $item['total']; @endphp @endforeach @else
{{ __('Cart is empty!') }}
@endif
{{ __('Product') }} {{ __('Product Title') }} {{ __('Quantity') }} {{ __('Total') }}
{{ convertUtf8($item['name']) }}
@if (!empty($item['variations']))

{{ __('Variation') }}:
@php $variations = $item['variations']; @endphp @foreach ($variations as $vKey => $variation) {{ str_replace('_', ' ', $vKey) }}: {{ $variation['name'] }} @if (!$loop->last) , @endif @endforeach

@endif @if (!empty($item['addons']))

{{ __("Add On's") }}: @php $addons = $item['addons']; @endphp @foreach ($addons as $addon) {{ $addon['name'] }} @if (!$loop->last) , @endif @endforeach

@endif
{{ $item['qty'] }} {{ $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol : '' }}{{ $item['total'] }}{{ $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol : '' }}
@include('front.multipurpose.qrmenu.partials.order_total')
@endsection @section('script') @if (old('gateway')) @endif @include('front.multipurpose.qrmenu.partials.scripts') @endsection