@extends('layouts.admin-modern') @section('title', 'Signalement #' . $report->id) @section('content')

Signalement #{{ $report->id }}

Détails du signalement d'équipement

Retour à la liste

Détails du signalement

Catégorie
@switch($report->category) @case('safety') Sécurité @break @case('condition') État du matériel @break @case('fraud') Fraude @break @case('inappropriate') Contenu inapproprié @break @case('pricing') Prix abusif @break @case('availability') Disponibilité @break @default {{ ucfirst($report->category) }} @endswitch
Priorité
@switch($report->priority) @case('urgent') Urgent @break @case('high') Élevée @break @case('medium') Moyenne @break @case('low') Faible @break @default {{ ucfirst($report->priority) }} @endswitch
Statut
@switch($report->status) @case('pending') En attente @break @case('under_review') En cours @break @case('investigating') Investigation @break @case('resolved') Résolu @break @case('dismissed') Rejeté @break @case('escalated') Escaladé @break @default {{ $report->status }} @endswitch
Raison du signalement

{{ $report->reason }}

@if($report->description)
Description détaillée

{{ $report->description }}

@endif @if($report->evidence_photos && count($report->evidence_photos) > 0)
Photos de preuve
@foreach($report->evidence_photos as $photo)
Preuve
@endforeach
@endif
Date du signalement

{{ $report->created_at->format('d/m/Y à H:i') }}

@if($report->resolved_at)
Date de résolution

{{ $report->resolved_at->format('d/m/Y à H:i') }}

@endif
@if($report->admin_notes)
Notes administrateur

{{ $report->admin_notes }}

@endif @if($report->resolution)
Résolution

{{ $report->resolution }}

@endif
@if($report->equipment)

Équipement signalé

{{ $report->equipment->name }}

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

Prix par jour: {{ number_format($report->equipment->price_per_day, 0, ',', ' ') }} €
Localisation: {{ $report->equipment->city }}
État: @switch($report->equipment->condition) @case('excellent') Excellent @break @case('good') Bon @break @case('fair') Correct @break @case('poor') Mauvais @break @default {{ ucfirst($report->equipment->condition) }} @endswitch
Publié le: {{ $report->equipment->created_at->format('d/m/Y à H:i') }}
@if($report->equipment->main_photo) Photo de l'équipement @endif
@else
Équipement supprimé

L'équipement associé à ce signalement a été supprimé.

@endif

Informations du rapporteur

Type: @switch($report->reporter_type) @case('client') Client @break @case('prestataire') Prestataire @break @case('anonymous') Anonyme @break @default {{ ucfirst($report->reporter_type) }} @endswitch
@if($report->contact_info && count($report->contact_info) > 0)
Informations de contact
@foreach($report->contact_info as $key => $value)
{{ ucfirst($key) }}: {{ $value }}
@endforeach
@endif

Actions

@csrf @method('PATCH')
@csrf @method('DELETE')
@endsection