@extends('layouts.app') @section('title', 'Animal : ' . $animal->identification) @section('breadcrumb') @endsection @section('content')

Animal : {{ $animal->identification }}

Modifier Retour
Informations
Identification : {{ $animal->identification }}
Lot : @if($animal->lot) {{ $animal->lot->code }} @else - @endif
Espèce : {{ $animal->species->name ?? '-' }}
Race : {{ $animal->breed->name ?? '-' }}
Sexe : {{ ucfirst($animal->sex) }}
Date de naissance : {{ $animal->birth_date ? \Carbon\Carbon::parse($animal->birth_date)->format('d/m/Y') : '-' }}
Poids : {{ $animal->weight ? $animal->weight . ' kg' : '-' }}
Statut : @switch($animal->status ?? 'actif') @case('actif') Actif @break @case('vendu') Vendu @break @case('mort') Mort @break @default {{ $animal->status }} @endswitch
Notes
{{ $animal->notes ?? 'Aucune note.' }}
@endsection