@include('pdf.partials.styles-reportes')
Total de Órdenes: {{ $records->count() }}
Generado: {{ now()->format('d/m/Y H:i:s') }}
| N° Orden | Cliente | Precio | Fecha Despacho | Producto | Cant. Pollos | P. Bruto (kg) | Cant. Jabas | Tara (kg) | P. Neto (kg) | Subtotal (S/) | Estado |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $orden->serie_orden }} | {{ $orden->razon_social }} | @if($precio > 0) S/ {{ number_format($precio, 2) }} @else N/A @endif | {{ \Carbon\Carbon::parse($orden->fecha_despacho)->format('d/m/Y') }} | @if($primerDetalle) {{ $primerDetalle->tipo_pollo->descripcion }} @else Sin producto @endif | {{ number_format($orden->cantidad_pollos, 0) }} | {{ number_format($orden->peso_total_bruto, 2) }} | {{ $orden->cantidad_jabas }} | {{ number_format($orden->tara, 2) }} | {{ number_format($orden->peso_total_neto, 2) }} | S/ {{ number_format($orden->subtotal, 2) }} | @if($orden->estado) Activo @else Inactivo @endif |
| No hay órdenes sin ventas para la fecha actual | |||||||||||
| TOTALES: | {{ number_format($totalPollos, 0) }} | {{ number_format($totalPesoBruto, 2) }} | {{ $totalJabas }} | {{ number_format($totalTara, 2) }} | {{ number_format($totalPesoNeto, 2) }} | S/ {{ number_format($totalSubtotal, 2) }} | {{ $records->count() }} órdenes | ||||