Details
- {{ __('admin.category') }}
- {{ $place->category?->getTranslation('name', 'en') ?? 'N/A' }}
- {{ __('admin.rating') }}
-
@if($place->rating)
{{ number_format($place->rating, 1) }} ({{ $place->reviews_count }} {{ __('admin.reviews') }})
@else
N/A
@endif
- {{ __('admin.phone') }}
- {{ $place->phone ?? 'N/A' }}
- {{ __('admin.email') }}
- {{ $place->email ?? 'N/A' }}
- {{ __('admin.status') }}
-
@if($place->is_active)
{{ __('admin.active') }}
@else
{{ __('admin.inactive') }}
@endif
@if($place->is_featured)
{{ __('admin.featured') }}
@endif
{{-- Description --}}
@if($place->getTranslation('description', 'en'))
{{ __('admin.description_en') }}
{{ $place->getTranslation('description', 'en') }}
@endif
@if($place->getTranslation('description', 'ar'))
{{ __('admin.description_ar') }}
{{ $place->getTranslation('description', 'ar') }}
@endif
{{-- Address --}}
{{ __('admin.address_en') }}
{{ $place->getTranslation('address', 'en') }}
@if($place->latitude && $place->longitude)
{{ $place->latitude }}, {{ $place->longitude }}
@endif
@if($place->google_url)
View on Google Maps
@endif
{{-- Social Links --}}
@if($place->social_links && is_array($place->social_links) && array_filter($place->social_links))
{{ __('admin.social_links') }}
@php
$socialPlatforms = [
'instagram' => 'fab fa-instagram text-pink-500',
'twitter' => 'fab fa-x-twitter text-gray-800',
'facebook' => 'fab fa-facebook text-blue-600',
'tiktok' => 'fab fa-tiktok text-gray-900',
'snapchat' => 'fab fa-snapchat text-yellow-400',
'youtube' => 'fab fa-youtube text-red-600',
'whatsapp' => 'fab fa-whatsapp text-green-500',
];
@endphp
@foreach($socialPlatforms as $platform => $iconClass)
@if($place->social_links[$platform] ?? null)
{{ ucfirst($platform) }}
@endif
@endforeach
{{ __('admin.amenities') }}
@php
$amenities = [
'delivery' => __('admin.delivery'), 'dine_in' => __('admin.dine_in'), 'takeout' => __('admin.takeout'),
'reservable' => __('admin.reservable'), 'serves_breakfast' => __('admin.serves_breakfast'), 'serves_lunch' => __('admin.serves_lunch'),
'serves_dinner' => __('admin.serves_dinner'), 'serves_coffee' => __('admin.serves_coffee'), 'wifi' => __('admin.wifi'),
'wheelchair_accessible' => __('admin.wheelchair_accessible'), 'good_for_children' => __('admin.good_for_children'), 'good_for_groups' => __('admin.good_for_groups'),
];
@endphp
@foreach($amenities as $key => $label)
{{ $label }}
@endforeach