@extends('layouts.app') @section('title', 'Lot : ' . $lot->code) @section('breadcrumb')
| Code : | {{ $lot->code }} |
|---|---|
| Espèce : | {{ $lot->species->name ?? '-' }} |
| Race : | {{ $lot->breed->name ?? '-' }} |
| Bâtiment : | {{ $lot->building->name ?? '-' }} |
| Origine : | {{ ucfirst($lot->origin) }} |
| Date d'arrivée : | {{ $lot->arrival_date ? \Carbon\Carbon::parse($lot->arrival_date)->format('d/m/Y') : '-' }} |
|---|---|
| Quantité initiale : | {{ $lot->initial_quantity }} |
| Quantité actuelle : | {{ $lot->current_quantity }} |
| Destination : | {{ ucfirst($lot->purpose) }} |
| Coût unitaire : | {{ $lot->unit_cost ? number_format($lot->unit_cost, 2) . ' FCFA' : '-' }} |
| Statut : | @switch($lot->status) @case('actif') Actif @break @case('vendu') Vendu @break @case('termine') Terminé @break @default {{ $lot->status }} @endswitch |
| Vaccin | Date | Prochain rappel | Dose | Cout |
|---|---|---|---|---|
| {{ $vaccination->vaccine->name ?? '-' }} | {{ \Carbon\Carbon::parse($vaccination->date)->format('d/m/Y') }} | {{ $vaccination->next_due_date ? \Carbon\Carbon::parse($vaccination->next_due_date)->format('d/m/Y') : '-' }} | {{ $vaccination->dose ?? '-' }} | {{ $vaccination->cost ? number_format($vaccination->cost, 2) . ' FCFA' : '-' }} |
| Aucune vaccination enregistree. | ||||
| Type | Médicament | Diagnostic | Debut | Fin | Cout |
|---|---|---|---|---|---|
| {{ $treatment->type }} | {{ $treatment->medication ?? '-' }} | {{ $treatment->diagnosis ?? '-' }} | {{ \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' : '-' }} |
| Aucun traitement enregistre. | |||||
| Date | Quantité | Cause | Notes |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($mortality->date)->format('d/m/Y') }} | {{ $mortality->quantity }} | {{ $mortality->cause ?? '-' }} | {{ Str::limit($mortality->notes, 50) }} |
| Aucune mortalite enregistree. | |||
| Aliment | Quantité | Date |
|---|---|---|
| {{ $feeding->feed->name ?? '-' }} | {{ $feeding->quantity }} | {{ \Carbon\Carbon::parse($feeding->date)->format('d/m/Y') }} |
| Aucune alimentation enregistree. | ||
| Type | Quantité | Unite | Date | Qualite |
|---|---|---|---|---|
| {{ $production->product_type }} | {{ $production->quantity }} | {{ $production->unit ?? '-' }} | {{ \Carbon\Carbon::parse($production->date)->format('d/m/Y') }} | {{ $production->quality_grade ?? '-' }} |
| Aucune production enregistree. | ||||
| Type | Quantité | Date | Motif |
|---|---|---|---|
| {{ $movement->type }} | {{ $movement->quantity }} | {{ \Carbon\Carbon::parse($movement->date)->format('d/m/Y') }} | {{ $movement->reason ?? '-' }} |
| Aucun mouvement enregistre. | |||