@php use Illuminate\Support\Str; @endphp

Location de Matériel

Équipements professionnels disponibles à la location

{{ $allEquipments->count() }} équipement{{ $allEquipments->count() > 1 ? 's' : '' }}
Filtrez le matériel par mot-clé, catégorie, état ou budget.
@foreach($allEquipments as $equipment) @php $equipmentCategoryName = $equipment->category?->name; $equipmentSearch = mb_strtolower(trim( $equipment->name . ' ' . strip_tags($equipment->description ?? '') . ' ' . ($equipment->brand ?? '') . ' ' . ($equipment->model ?? '') . ' ' . ($equipmentCategoryName ?? '') . ' ' . ($equipment->condition ?? '') )); $equipmentPriceReference = $equipment->price_per_day ?? $equipment->price_per_hour ?? $equipment->price_per_week ?? null; @endphp
@if($equipment->main_photo) {{ $equipment->name }} @else
@endif @if($equipment->is_available) Disponible @else Réservé @endif

{{ $equipment->name }}

{{ Str::limit($equipment->description, 70) }}

@if($equipmentCategoryName || $equipment->condition || $equipment->brand)
@if($equipmentCategoryName) {{ $equipmentCategoryName }} @endif @if($equipment->condition) {{ ucfirst(str_replace('_', ' ', $equipment->condition)) }} @endif @if($equipment->brand) {{ $equipment->brand }} @endif
@endif
@if($equipment->price_per_hour) {{ number_format($equipment->price_per_hour, 0, ',', ' ') }} €/h @endif @if($equipment->price_per_day) {{ number_format($equipment->price_per_day, 0, ',', ' ') }} €/jour @endif
Réserver
@endforeach