@extends('theme::layouts.app') @push('css') @endpush @section('content') @php $currency=\App\Options::where('key','currency_name')->select('value')->first(); @endphp

{{ __('Your Settings Successfully Updated') }}

{{ $store->delivery->content }} {{ __('MIN') }}

{{ number_format($store->avg_ratting->content,1) }}

{{ $store->ratting->content }} {{ __('Ratings') }}

{{ __('Book A Table') }}

@csrf
{{ __('Booking Information') }}
{{ __('Contact Information') }}

{{ __('Rating & Reviews') }}

{{ number_format($store->avg_ratting->content,1) }}

{{ __('5 Star') }} {{ $five_rattings }}%
{{ __('4 Star') }} {{ $four_rattings }}%
{{ __('3 Star') }} {{ $three_rattings }}%
{{ __('2 Star') }}{{ $two_rattings }}%
{{ __('1 Star') }} {{ $one_rattings }}%

{{ __('All Reviews') }}

@foreach($store->vendor_reviews as $review)
...
{{ App\User::find($review->user_id)->name }} {{ $review->created_at->diffForHumans() }}
@if($review->comment_meta->star_rate == 5) @endif @if($review->comment_meta->star_rate == 4) @endif @if($review->comment_meta->star_rate == 3) @endif @if($review->comment_meta->star_rate == 2) @endif @if($review->comment_meta->star_rate == 1) @endif
{{ $review->comment_meta->comment }}
@endforeach
@if(Cart::instance('cart_'.$store->slug)->count() > 0)
{{ __('Delivery') }}
{{ $store->delivery->content }} {{ __('min') }}
{{ __('Your order') }} {{ $store->name }}
@foreach(Cart::instance('cart_'.$store->slug)->content() as $cart)
{{ $cart->name }}

{{ $cart->options->type }}

{{ strtoupper($currency->value) }} {{ number_format($cart->price,2) }}
@if($cart->qty > 1) @else @endif
@endforeach
{{ __('Subtotal') }}
{{ __(strtoupper($currency->value)) }} {{ Cart::subtotal() }}
@else
{{ __('No Item in your Cart') }}

{{ __("You haven't added anything in your cart yet! Start adding the products you like.") }}

{{ __('Subtotal') }}
{{ strtoupper($currency->value) }} {{ Cart::subtotal() }}
@endif
@if($store->status == 'offline') @endif @endsection @push('js') @endpush