{{ $service->title }}
{{ Str::limit($service->description, 80) }}
@extends('layouts.app') @section('title', $prestataire->user->name . ' - Prestataire') @push('styles') @endpush @push('scripts') @endpush @section('content') @php $totalReviews = $allReviews->count(); $averageRating = $totalReviews > 0 ? round($allReviews->avg('rating'), 1) : 0; $hasProducts = $allUrgentSales->count() > 0; $hasFood = isset($foodProducts) && $foodProducts->count() > 0; $hasVideos = $prestataire->videos && $prestataire->videos->count() > 0; $hasServices = $allServices->count() > 0; $hasEquipments = $allEquipments->count() > 0; $isOnline = $prestataire->user->is_online ?? false; // Calcul des tabs actifs $tabs = []; if($hasServices) $tabs[] = ['id' => 'services', 'icon' => 'fa-concierge-bell', 'label' => 'Services', 'count' => $allServices->count()]; if($hasEquipments) $tabs[] = ['id' => 'location', 'icon' => 'fa-tools', 'label' => 'Location', 'count' => $allEquipments->count()]; if($hasProducts) $tabs[] = ['id' => 'boutique', 'icon' => 'fa-store', 'label' => 'Boutique', 'count' => $allUrgentSales->count()]; if($hasFood) $tabs[] = ['id' => 'menu', 'icon' => 'fa-utensils', 'label' => 'Menu', 'count' => $foodProducts->count()]; $tabs[] = ['id' => 'avis', 'icon' => 'fa-star', 'label' => 'Avis', 'count' => $totalReviews]; @endphp
Découvrez nos prestations professionnelles
{{ Str::limit($service->description, 80) }}
Équipements professionnels disponibles à la location
{{ Str::limit($equipment->description, 70) }}
{{ $allUrgentSales->count() }} articles disponibles
{{ Str::limit($sale->description, 60) }}
{{ $review->comment }}
@endifAucun avis pour le moment
Soyez le premier à donner votre avis !{{ $prestataire->description }}
@if($prestataire->city || $prestataire->phone)