@php use App\CentralLogics\Helpers; use App\Models\BusinessSetting; use App\Models\Order; use App\Models\Restaurant; use App\Models\Zone; use App\Scopes\RestaurantScope; @endphp @extends('layouts.admin.app') @section('title', translate('messages.pos')) @section('content')
{{translate('food_section')}}
@if(!$products->isEmpty())
@foreach ($products as $product)
@include('admin-views.pos._single_product', [ 'product' => $product, 'restaurant_data ' => $restaurant_data, ])
@endforeach
@else
img

{{translate('messages.To get accurate search results, first select a zone, then choose a restaurant. You can then browse food by category or search manually within that restaurant.')}}

@endif
{{ translate('Billing Section') }}
{{ translate('Name') }} :
{{ isset($customer) ? $customer->f_name . ' ' . $customer->l_name : '' }} {{ isset($customer) ? $customer->phone: '' }}
{{ translate('Email') }} :
{{ isset($customer) ? $customer->email : '' }}
{{ translate('Wallet') }} :
{{ isset($customer) ? Helpers::format_currency($customer->wallet_balance) : '' }}
{{ translate('Select Order Type') }}
@if ( Helpers::get_business_settings('take_away')&& (!$restaurant_data|| $restaurant_data?->take_away == 1))
get('order_type') == 'take_away' || !session()->get('order_type') ? 'checked' : '' }} >
@endif @if ( Helpers::get_business_settings('home_delivery') && (!$restaurant_data|| $restaurant_data?->delivery == 1))
get('order_type') == 'delivery' ? 'checked' : '' }} >
@endif
@include('admin-views.pos._cart')
@include('admin-views.pos._pos_mobile_menu')
@if ($order) @php(session(['last_order' => false])) @endif
@endsection @push('script_2')