@php use Modules\Common\Entities\Report; $typeColors = [ Report::TYPE_FOUND => 'text-success', Report::TYPE_SEEN => 'text-info', Report::TYPE_LOST => 'text-danger', ]; @endphp @extends('user::_layouts.authenticated.layout') @section('title', __('messages.global.report_detail')) @section('content')

{{ $report->trashed() ? __('messages.global.deleted_report_detail') : __('messages.global.report_detail') }}

@if ($report->transfersFormatted) @endif @if ($report->isFound()) @endif @if ($report->isFound()) @endif @if ($user->hasOrganization) @endif @if ($user->isOrganization) @endif @if ($report->trashed()) @else @endif
{{ __('messages.global.state') }} {{ $report->stateFormatted }}
# {{ $report->id }}
{{ __('messages.global.transfers') }} {{ $report->transfersFormatted }}
{{ __('messages.global.created_at') }} {{ $report->createdAtDateTimeFormatted }}
{{ __('messages.global.expires_at') }} @if ($report->hasExpired()) {{ __('messages.global.expired') }} @else {{ $report->expiresAtDateTimeFormatted }} @endif
{{ __('messages.global.view_count') }} {{ $report->view_count }}
{{ __('messages.global.share_count') }} {{ $report->share_count }}
{{ __('messages.global.report_type') }} {{ $report->typeFormatted }}
{{ __('messages.global.pictures') }} @foreach ($report->getMedia() as $media) @endforeach
{{ __('messages.global.address') }} {{ $report->location_address }}
{{ __('messages.global.latitude') }} {{ $report->location_latitude }}
{{ __('messages.global.longitude') }} {{ $report->location_longitude }}
{{ __('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.identification_type') }} {{ $report->identificationtypeFormatted }}
{{ __('messages.global.identification_number') }} {{ $report->identification_number }}
{{ __('messages.global.where_is_animal') }} {{ $report->final_location }}
{{ __('messages.global.comment') }} {{ $report->comment }}
{{ __('messages.global.internal_note') }} {{ $report->internal_note }}
{{ __('messages.global.author') }} {{ $report->user->fullName }}
{{ __('messages.global.deletion_reason') }} {{ $report->deletion_reason_formatted }}
{{ __('messages.global.deletion_reason_comment') }} {{ $report->deletion_reason_comment }}
{{ __('messages.global.actions') }} {{ __('messages.global.extend_expiration') }} @if ($report->isWaiting()) {{ __('messages.global.suspend') }} @elseif ($report->isSuspended()) {{ __('messages.global.unsuspend') }} @endif
{{-- Sharing Report Dialog --}} @include('user::_layouts.authenticated._partials.sharing_report_dialog') {{-- Confirm Delete Dialog --}} @include('user::_layouts.authenticated._partials.confirm_delete_dialog') @endsection