@extends('layouts.vendor.app') @section('title', translate('messages.pos')) @push('css_or_js') @endpush @section('content')
@php($restaurant_data = \App\CentralLogics\Helpers::get_restaurant_data())
{{ translate('Food Section') }}
@if (!$products->isEmpty())
@foreach ($products as $product)
@include('vendor-views.pos._single_product', [ 'product' => $product, 'restaurant_data' => $restaurant_data, ]) {{--
--}}
@endforeach
@else
img

{{ translate('To get required search result First select zone & then restaurant to search category wise food or search manually to find food under that restaurant') }}

@endif
{{ translate('Billing Section') }}
@if (($restaurant_data->restaurant_model == 'commission' && $restaurant_data->self_delivery_system == 1) || ($restaurant_data->restaurant_model == 'subscription' && isset($restaurant_data->restaurant_sub) && $restaurant_data->restaurant_sub->self_delivery == 1))
{{ translate('Delivery Infomation') }}
@include('vendor-views.pos._address')
@endif
@include('vendor-views.pos._cart')
@php($order = \App\Models\Order::find(session('last_order'))) @if ($order) @php(session(['last_order' => false])) @endif
@endsection @push('script_2') @if ($errors->any()) @endif @endpush