| FECHA INGRESO: | {{ \Carbon\Carbon::parse($guia['fecha_ingreso'])->format('d/m/Y') }} | N° GUÍA: | {{ $guia['numero_guia'] }} |
| PROCEDENCIA: | {{ strtoupper($guia['lugar_procedencia'] ?? 'N/A') }} | ||
| TIPO INGRESO: | @php $tipoIngreso = $guia['tipo_ingreso'] ?? 0; $tipoIngresoTexto = match($tipoIngreso) { 1 => 'CAMIÓN', 2 => 'STOCK', default => 'DESCONOCIDO' }; @endphp{{ $tipoIngresoTexto }} | REGISTRADO POR: | {{ strtoupper($guia['usuario']['nombre'] ?? 'N/A') }} |
| # | TIPO DE POLLO | PRESENTACIÓN | CANTIDAD | PESO (kg) | PROM. |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ strtoupper($detalle['tipo_pollo']['descripcion'] ?? 'N/A') }} | {{ strtoupper($detalle['presentacion_pollo']['descripcion'] ?? 'N/A') }} | {{ number_format($detalle['cantidad_pollos']) }} | {{ number_format($detalle['peso_neto'], 2) }} | {{ number_format($promedioDetalle, 2) }} |
| TOTALES: | {{ number_format($guia['totales']['cantidad_total_pollos']) }} | {{ number_format($guia['totales']['peso_neto_total'], 2) }} | |||