@extends('admin.layouts.app') @section('title', 'تفاصيل المطعم') @section('page-title', 'تفاصيل المطعم') @section('content')
| اسم المطعم: | {{ $restaurant->name }} |
| نوع المطبخ: | @switch($restaurant->cuisine_type) @case('arabic') عربي @break @case('international') دولي @break @case('fast_food') وجبات سريعة @break @case('seafood') مأكولات بحرية @break @default {{ $restaurant->cuisine_type ?? 'غير محدد' }} @endswitch |
| الحالة: | @if($restaurant->is_active) نشط @else غير نشط @endif |
| مفتوح: | @if($restaurant->is_open) مفتوح @else مغلق @endif |
| التقييم: |
@if($restaurant->rating > 0)
{{ number_format($restaurant->rating, 1) }}
@if($restaurant->rating_count > 0)
({{ $restaurant->rating_count }} تقييم)
@endif
@else
لا يوجد تقييم
@endif
@for($i = 1; $i <= 5; $i++)
@if($i <= $restaurant->rating)
@elseif($i - $restaurant->rating < 1)
@else
@endif
@endfor
|
| رقم الهاتف: | {{ $restaurant->phone ?? 'غير محدد' }} |
| البريد الإلكتروني: | {{ $restaurant->email ?? 'غير محدد' }} |
| العنوان: | {{ $restaurant->address ?? 'غير محدد' }} |
| الإحداثيات: | @if($restaurant->latitude && $restaurant->longitude) {{ $restaurant->latitude }}, {{ $restaurant->longitude }} @else غير محدد @endif |
| صاحب المطعم: | @if($restaurant->user) {{ $restaurant->user->name }} @else غير محدد @endif |
{{ $restaurant->description }}
| وقت الفتح: | @if($restaurant->opening_time) @try @if($restaurant->opening_time instanceof \Carbon\Carbon) {{ $restaurant->opening_time->format('H:i') }} @else {{ \Carbon\Carbon::parse($restaurant->opening_time)->format('H:i') }} @endif @catch(\Exception $e) {{ $restaurant->opening_time }} @endtry @else غير محدد @endif |
| وقت الإغلاق: | @if($restaurant->closing_time) @try @if($restaurant->closing_time instanceof \Carbon\Carbon) {{ $restaurant->closing_time->format('H:i') }} @else {{ \Carbon\Carbon::parse($restaurant->closing_time)->format('H:i') }} @endif @catch(\Exception $e) {{ $restaurant->closing_time }} @endtry @else غير محدد @endif |
| مفتوح الآن: | @try @if($restaurant->isCurrentlyOpen()) نعم @else لا @endif @catch(\Exception $e) غير محدد @endtry |
| رسوم التوصيل: | @if($restaurant->delivery_fee) {{ $restaurant->delivery_fee }} دينار عراقي @else غير محدد @endif |
| وقت التوصيل: | @if($restaurant->delivery_time_minutes) {{ $restaurant->delivery_time_minutes }} دقيقة @else غير محدد @endif |
| الحد الأدنى للطلب: | @if($restaurant->minimum_order) {{ $restaurant->minimum_order }} دينار عراقي @else غير محدد @endif |
| الصورة | اسم الطبق | الفئة | السعر | متاح | شائع |
|---|---|---|---|---|---|
|
@if($item->image)
|
{{ $item->name }}
@if($item->description)
{{ Str::limit($item->description, 50) }} @endif |
{{ $item->category ?? 'غير محدد' }} | {{ $item->price }} دينار عراقي | @if($item->is_available) متاح @else غير متاح @endif | @if($item->is_popular) شائع @else - @endif |
لا توجد طلبات بعد