@if(!empty($empresa)){{ $empresa }} · @endif Generado: {{ $generated_at }}
Estatus: {{ ucfirst($sheet['animal']['status'] ?? '') }} · {{ $sheet['metrics']['location_label'] ?? '' }}
|
Último peso
{{ $sheet['metrics']['last_weight_kg'] ?? '—' }} kg
|
Último GDP
{{ $sheet['metrics']['last_daily_weight_gain'] ?? '—' }} kg/d
|
Meta GDP efectiva
{{ $sheet['metrics']['effective_min_gdp_kg_per_day'] ?? '—' }} kg/d
|
Ganancia de peso
{{ $sheet['metrics']['lifetime_weight_gain_kg'] ?? '—' }} kg
|
| Raza | {{ $sheet['animal']['breed'] ?? '—' }} |
| Género | {{ ($sheet['animal']['gender'] ?? '') === 'female' ? 'Hembra' : 'Macho' }} |
| Nacimiento | {{ $sheet['animal']['birth_date'] ?? '—' }} |
| Edad | {{ $sheet['metrics']['age_months'] ?? '—' }} meses |
| Madre | {{ $sheet['animal']['mother']['ear_tag'] ?? '—' }} |
| Notas | {{ $sheet['animal']['notes'] ?? '—' }} |
| Alimento (engorda asignado) | ${{ number_format($p['feed_cost'], 2) }} |
| Salud | ${{ number_format($p['health_cost'], 2) }} |
| Total invertido | ${{ number_format($p['money_invested'] ?? $p['total_cost'], 2) }} |
| Ingresos (venta) | ${{ number_format($p['income'], 2) }} |
| Utilidad neta | ${{ number_format($p['net_profit'], 2) }} |
| Kg ganados | {{ number_format($p['weight_gain_kg'], 2) }} |
| Costo / kg ganado | ${{ $p['cost_per_kg_gained'] !== null ? number_format($p['cost_per_kg_gained'], 2) : '—' }} |
| Utilidad / kg ganado | ${{ $p['profit_per_kg_gained'] !== null ? number_format($p['profit_per_kg_gained'], 2) : '—' }} |
| Fecha | Peso kg | Ganancia kg | GDP kg/día |
|---|---|---|---|
| {{ $row['weighed_at'] }} | {{ number_format($row['weight_kg'], 2) }} | {{ $row['weight_gain_kg'] !== null ? number_format($row['weight_gain_kg'], 2) : '—' }} | @if($row['daily_weight_gain'] !== null && $gdpTarget !== null && $row['daily_weight_gain'] < $gdpTarget) {{ number_format($row['daily_weight_gain'], 2) }} @else {{ $row['daily_weight_gain'] !== null ? number_format($row['daily_weight_gain'], 2) : '—' }} @endif |
| Lote | Entrada | Salida | Días | Peso inicio | Peso fin |
|---|---|---|---|---|---|
| {{ $s['lot_name'] }}{{ !empty($s['is_active']) ? ' (actual)' : '' }} | {{ $s['entry_date'] }} | {{ $s['exit_date'] ?? '—' }} | {{ $s['days_in_confinement'] }} | {{ $s['entry_weight_kg'] }} | {{ $s['exit_weight_kg'] ?? '—' }} |
| Fecha | Tipo | Concepto | Costo |
|---|---|---|---|
| {{ $h['event_date'] }} | {{ $h['event_type'] }} | {{ $h['title'] }} | {{ $h['cost'] !== null ? '$'.number_format($h['cost'], 2) : '—' }} |
| Fecha | Motivo | Desde | Hacia |
|---|---|---|---|
| {{ $m['moved_at'] }} | {{ $m['reason_label'] ?? $m['reason'] }} | {{ $m['from_label'] ?? '—' }} | {{ $m['to_label'] ?? '—' }} |