@php use Modules\Common\Entities\Report; $typeColors = [ Report::TYPE_FOUND => 'text-green-700', Report::TYPE_SEEN => 'text-blue-700', Report::TYPE_LOST => 'text-red-700', ]; @endphp @extends('blog::_layouts.master') @section('title', __('messages.global.report_detail')) @section('meta') {{-- Open Graph Meta --}} @endsection @section('content') {{-- Header --}}

{{ __('messages.global.report_detail') }}

{{ $report->typeFormatted }} {{ $report->animalSpeciesFormatted }} {{ $report->animalConditionFormatted }} @if ($report->hasExpired()) Expiré @endif

 {{ $report->createdAtDateFormatted }}       {{ $report->createdAtTimeFormatted }}

{{-- Starting gradient --}} @include('landing::_layouts/_partials/gradient-start', ['fill' => '#ffffff']) {{-- Report --}}
{{-- Flash Message --}}
@include('landing::_layouts/_partials/flash_messages')
{{-- Top actions --}} @if (!$report->hasBeenFound())
{{-- Share buttons --}}
  • Partager le signalement :
{{-- Report abuse --}}
@endif {{-- Detail --}}
{{-- Left --}}
@if ($report->transfersFormatted) @endif @if ($report->isFound() || $report->isSeen()) @endif
# {{ $report->id }}
{{ __('messages.global.transfers') }} {{ $report->transfersFormatted }}
{{ __('messages.global.date') }} {{ $report->createdAtDateTimeFormatted }}
{{ __('messages.global.expires_at') }} @if ($report->hasExpired()) Expiré @else {{ $report->expiresAtDateTimeFormatted }} @endif
{{ __('messages.global.view_count') }} {{ $report->view_count }}
{{ __('messages.global.share_count') }} {{ $report->share_count }}
{{ __('messages.global.type') }} {{ $report->typeFormatted }}
{{ __('messages.global.animal_species') }} {{ $report->animalSpeciesFormatted }}
{{ __('messages.global.animal_condition') }} {{ $report->animalConditionFormatted }}
{{ __('messages.global.animal_gender') }} {{ $report->animalGenderFormatted }}
{{ __('messages.global.sterilization') }} {{ $report->sterilizationFormatted }}
{{ __('messages.global.where_is_animal') }} {{ $report->final_location }}
{{ __('messages.global.comment') }} {{ $report->comment }}
{{ __('messages.global.author') }} {{ $author->displayName }} @if (auth('user')->check() && auth('user')->user()->hasVerifiedEmail()) @else

{!! __('messages.reports.login_required_for_localization') !!}

@endif
{{-- Right --}}
@if ($report->hasBeenFound())
{{ __('messages.global.has_been_found') }}
@endif
@foreach ($report->images as $image) @if (!$loop->first) @endif @endforeach
{{-- Map --}}
{{-- Title --}}

{{ __('messages.global.location') }}

@if ((auth('user')->check() && auth('user')->user()->hasVerifiedEmail()) || $report->isLost())
{{-- Left --}}
{{-- Right --}}
{{ __('messages.global.address') }} {{ $report->location_address }}
{{ __('messages.global.coordinates') }} {{ $report->location_latitude }}, {{ $report->location_longitude }}
{{ __('messages.global.actions') }}
@else @endif
{{-- Latest Reports --}} @include('landing::home/_includes/latest_reports') {{-- Ending gradient --}} @include('landing::_layouts/_partials/gradient-end', ['fill' => '#f7fafc']) @endsection @section('js') @endsection