@if($report['from'] && $report['to']) Ventas del {{ $report['from'] }} al {{ $report['to'] }} · Estatus: {{ $report['status_filter'] }} @else Estatus: {{ $report['status_filter'] }} · Costos acumulados del ciclo @endif
@if(!empty($empresa)){{ $empresa }}
@endif| Total ingresos | ${{ number_format($report['totals']['income'], 2) }} |
| Total costos | ${{ number_format($report['totals']['total_cost'], 2) }} |
| Utilidad neta | ${{ number_format($report['totals']['net_profit'], 2) }} |
| Costo / kg ganado (global) | {{ $report['totals']['cost_per_kg_gained'] !== null ? '$'.number_format($report['totals']['cost_per_kg_gained'], 2) : '—' }} |
| Utilidad / kg ganado (global) | {{ $report['totals']['profit_per_kg_gained'] !== null ? '$'.number_format($report['totals']['profit_per_kg_gained'], 2) : '—' }} |
| Arete | Venta | Kg + | Ingreso | Costos | Utilidad | $/kg |
|---|---|---|---|---|---|---|
| {{ $row['ear_tag'] }} | {{ $row['sale_date'] ?? '—' }} | {{ $row['weight_gain_kg'] ?? '—' }} | ${{ number_format($row['income'], 2) }} | ${{ number_format($row['total_cost'], 2) }} | ${{ number_format($row['net_profit'], 2) }} | {{ isset($row['profit_per_kg_gained']) ? '$'.number_format($row['profit_per_kg_gained'], 2) : '—' }} |