@extends('layouts.app') @section('title', 'Location de matériel') @push('styles') @include('components.listing-desktop-cards-style') @endpush @section('content')

Location de Matériel

Trouvez l'équipement dont vous avez besoin.

Filtrer le matériel

Résultats : {{ $equipments->total() }} équipement(s)
@if($equipments->total() > 0)
{{ $equipments->pluck('prestataire_id')->unique()->count() }} prestataires actifs
@endif
@if($equipments->count() > 0)
@foreach($equipments as $equipment)
@if($equipment->main_photo) @elseif(isset($equipment->photos[0])) @else

Photo à venir

@endif
@if($equipment->is_available)
Dispo
@else
Indispo
@endif @if($equipment->delivery_available) 📦 @endif
{{ number_format($equipment->price_per_day, 0, ',', ' ') }}€/j

{{ $equipment->name }}

@if($equipment->brand || $equipment->model)

{{ $equipment->brand }} {{ $equipment->model }}

@endif
@if($equipment->average_rating > 0)
* {{ number_format($equipment->average_rating, 1) }}
@endif
@if($equipment->prestataire)
@if($equipment->prestataire->photo) @elseif($equipment->prestataire->user->avatar) @elseif($equipment->prestataire->user->profile_photo_path) @else
{{ strtoupper(substr($equipment->prestataire->company_name ?? ($equipment->prestataire->first_name ?? ''), 0, 1)) }}
@endif

{{ $equipment->prestataire->company_name ?? $equipment->prestataire->first_name . ' ' . $equipment->prestataire->last_name }}

Prestataire vérifié

@endif
{{ number_format($equipment->price_per_day, 0) }}€ /jour
@if($equipment->price_per_week)
{{ number_format($equipment->price_per_week, 0) }}€
/semaine
-{{ round((1 - ($equipment->price_per_week / ($equipment->price_per_day * 7))) * 100) }}%
@endif
@if($equipment->category || $equipment->subcategory)
@if($equipment->category) {{ $equipment->category->name }} @endif @if($equipment->subcategory && $equipment->subcategory->id !== $equipment->category_id) {{ $equipment->subcategory->name }} @endif
@endif
Détails @auth @if($equipment->is_available) Réserver @endif @else @if($equipment->is_available) Connexion @endif @endauth
@endforeach
@if($equipments->hasPages())
{{ $equipments->links() }}
@endif @else
? ?

@if(request()->hasAny(['search', 'location', 'category_id', 'max_price', 'availability', 'urgent', 'with_delivery'])) Aucun équipement trouvé @else Entrepôt en cours de remplissage @endif

@if(request()->hasAny(['search', 'location', 'category_id', 'max_price', 'availability', 'urgent', 'with_delivery'])) Aucun matériel ne correspond à votre recherche. Essayez d'élargir vos critères ou revenez plus tard. @else Nos prestataires ajoutent régulièrement de nouveaux équipements. Revenez bientôt pour découvrir notre catalogue ! @endif

@if(request()->hasAny(['search', 'location', 'category_id', 'max_price', 'availability', 'urgent', 'with_delivery'])) @else Alertes @endif
@if(request()->hasAny(['search', 'location', 'category_id', 'max_price', 'availability', 'urgent', 'with_delivery']))

Suggestions :

  • • Vérifiez l'orthographe de votre recherche
  • • Utilisez des termes plus généraux
  • • Élargissez votre zone géographique
  • • Augmentez votre budget maximum
@endif
@endif
@endsection