@extends('dashboard.master') @section('title', $store->name) @section('store' . $store->category->id . '-active', 'active') @section('content')
@if (!is_null($store->image))
@if ($store->is_open == 1) @else @endif
@else

لايوجد صوره

@endif
ايميل المستخدم :

{{ $store->user->email }}

اسم المستخدم :

{{ $store->user->name }}

اسم ال{{ $store->category->name }} :

{{ $store->name }}

التقيم :

{{-- {{$store->average_rating}} --}} @php $stars = round($store->average_rating / 20); @endphp @for ($i = 1; $i <= 5; $i++) @if ($i <= $stars) {{-- نجمة ممتلئة --}} @else {{-- نجمة فارغة --}} @endif @endfor

عدد العملاء الذين قيموا المتجر :

{{ $store->ratingCustomersCount }}

رقم الموبايل :

{{ $store->mobile }}

تكلفة التوصيل بالكيلومتر :

{{ $store->delivary_value_km }}

العنوان :

{{ $store->address }}

مغلق / مفتوح :

{{ $store->is_open }}

بداية العمل :

{{ \Carbon\Carbon::createFromFormat('H:i:s', $store->start_time)->format('h:i A') }}

نهاية العمل :

{{ \Carbon\Carbon::createFromFormat('H:i:s', $store->end_time)->format('h:i A') }}

نوع الخدمة :

{{ $store->category->name }}

الحالة :
@livewire('dashboard.store.store-active', ['store' => $store])
@endsection