@extends('layouts.app') @section('title', 'Détails traitement') @section('breadcrumb') @endsection @section('content')
Traitement — {{ $treatment->medication }}
@php $typeLabels = ['curatif'=>'Curatif','préventif'=>'Préventif','chirurgical'=>'Chirurgical']; $typeColors = ['curatif'=>'danger','préventif'=>'success','chirurgical'=>'warning']; @endphp {{ $typeLabels[$treatment->type] ?? $treatment->type }}
Lot
{{ $treatment->lot->code ?? '-' }}
Animal
{{ $treatment->animal->tag_number ?? 'Lot entier' }}
Type
{{ $typeLabels[$treatment->type] ?? $treatment->type }}
Médicament
{{ $treatment->medication }}
Diagnostic
{{ $treatment->diagnosis ?? '-' }}
Date début
{{ $treatment->start_date->format('d/m/Y') }}
Date fin
{{ $treatment->end_date ? $treatment->end_date->format('d/m/Y') : '-' }}
Coût
{{ $treatment->cost ? number_format($treatment->cost, 2) . ' FCFA' : '-' }}
Vétérinaire
{{ $treatment->veterinarian ?? '-' }}
Enregistré le
{{ $treatment->created_at->format('d/m/Y H:i') }}
@if($treatment->notes)
Notes

{{ $treatment->notes }}

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