@extends('layouts.app') @section('title', 'Détails cycle de reproduction') @section('breadcrumb') @endsection @section('content')
Cycle de reproduction
@php $statusMap = ['en_cours'=>['bg-warning text-dark','En cours'],'reussi'=>['bg-success','Réussi'],'echoue'=>['bg-danger','Échoué'],'annule'=>['bg-secondary','Annulé']]; [$cls,$lbl] = $statusMap[$breedingCycle->status] ?? ['bg-secondary','—']; @endphp {{ $lbl }}
Espèce
{{ $breedingCycle->species->name ?? '-' }}
Lot
{{ $breedingCycle->lot->code ?? '-' }}
Mâle
{{ $breedingCycle->male->name ?? $breedingCycle->male?->tag_number ?? '-' }}
Femelle
{{ $breedingCycle->female->name ?? $breedingCycle->female?->tag_number ?? '-' }}
Accouplement
{{ $breedingCycle->mating_date->format('d/m/Y') }}
Naissance prévue
{{ $breedingCycle->expected_birth_date?->format('d/m/Y') ?? '-' }}
Naissance réelle
{{ $breedingCycle->actual_birth_date?->format('d/m/Y') ?? '-' }}
Total petits
{{ $breedingCycle->offspring_count ?? '-' }}
Nés vivants
{{ $breedingCycle->live_born ?? '-' }}
@if($breedingCycle->notes)
Notes

{{ $breedingCycle->notes }}

@endif
Retour
Modifier
@csrf @method('DELETE')
@endsection