@extends('layouts.app') @section('title', 'Traitements') @section('breadcrumb') @endsection @section('content')

Traitements

Ajouter
@forelse($treatments as $treatment) @empty @endforelse
Lot/Animal Type Médicament Diagnostic Debut Fin Cout Actions
{{ $treatment->lot->code ?? '-' }} @if($treatment->animal) / {{ $treatment->animal->identification }} @endif {{ $treatment->type }} {{ $treatment->medication ?? '-' }} {{ Str::limit($treatment->diagnosis, 30) }} {{ \Carbon\Carbon::parse($treatment->start_date)->format('d/m/Y') }} {{ $treatment->end_date ? \Carbon\Carbon::parse($treatment->end_date)->format('d/m/Y') : '-' }} {{ $treatment->cost ? number_format($treatment->cost, 2) . ' FCFA' : '-' }}
@csrf @method('DELETE')
Aucun enregistrement.
@endsection