@php use App\Models\User\Product; use Illuminate\Support\Facades\Auth; @endphp @extends('user.layout') @section('sidebar', 'overlay-sidebar') @section('styles') @endsection @section('content')
@includeIf('user.pos.partials.cats-items')
@csrf

Use Country Code in phone number

Enter customer phone first.
Enter customer email first.
@if ($userBe->delivery_date_time_status == 1)
@endif
@if ( $userBs->postal_code == 0 || (is_array($packagePermissions) && !in_array('Postal Code Based Delivery Charge', $packagePermissions))) @if (count($scharges) > 0)
@foreach ($scharges as $scharge)
first ? 'checked' : '' }} data-free_delivery_amount="{{ $scharge->free_delivery_amount }}"> + {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }}{{ $scharge->charge }}{{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
@if (!empty($scharge->free_delivery_amount))

(@lang('Free Delivery for Orders over') {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }}{{ $scharge->free_delivery_amount - 1 }}{{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }} )

@endif

{{ $scharge->text }}

@endforeach
@endif @else
@endif

Ordered Foods

@if (empty($cart))

NO ITEMS ADDED

@else
@foreach ($cart as $key => $item) @php $id = $item['id']; $user = getRootUser(); $product = Product::query() ->where('user_id', $user->id) ->findOrFail($id); @endphp @endforeach
Item Qty Price ({{ $userBe->base_currency_symbol }})
{{ strlen($item['name']) > 27 ? mb_substr($item['name'], 0, 27, 'UTF-8') . '...' : $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']))

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

@endif
{{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }} {{ $item['total'] }} {{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
  • Subtotal {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }} {{ posCartSubTotal() }} {{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
  • Tax + {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }} {{ posTax() }} {{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
  • Shipping Charge + {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }} {{ posShipping() }} {{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
  • Total {{ $userBe->base_currency_symbol_position == 'left' ? $userBe->base_currency_symbol : '' }} {{ posCartSubTotal() + posTax() + posShipping() }} {{ $userBe->base_currency_symbol_position == 'right' ? $userBe->base_currency_symbol : '' }}
@endif
@includeIf('user.pos.variation-modal')
@endsection @section('scripts') @if ( !empty($onTable) && $onTable->pos == 1 && Session::has('success') && Session::has('previous_serving_method') && Session::get('previous_serving_method') == 'on_table') @endif @endsection